From mboxrd@z Thu Jan 1 00:00:00 1970 From: dedekind1@gmail.com (Artem Bityutskiy) Date: Mon, 30 Aug 2010 15:14:29 +0300 Subject: [PATCH 28/74] Incrementing the ecc_pos array to contain 128 char In-Reply-To: References: <07ce8daf18d3a9f13864752074af3490a324d84c.1283161023.git.viresh.kumar@st.com> Message-ID: <1283170469.12995.53.camel@brekeke> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, 2010-08-30 at 16:13 +0530, Viresh KUMAR wrote: > From: Vipin Kumar > > For a page size of 4096, the number of oob bytes are 128 per page. This demands > for an increased ecc_pos array as well as ecc can be placed at more than 64 > locations. > > This patch is added because SPEAr platforms NAND controller has 13 bytes of ecc > for each 512 bytes of data. This results in 104 bytes of ecc in case of 4096 > byte page. > > Signed-off-by: Vipin Kumar > Signed-off-by: Viresh Kumar Nack, breaking ABI Is not allowed in Linux. -- Best Regards, Artem Bityutskiy (???????? ?????)