From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH 28/74] Incrementing the ecc_pos array to contain 128 char From: Artem Bityutskiy To: Viresh KUMAR In-Reply-To: References: <07ce8daf18d3a9f13864752074af3490a324d84c.1283161023.git.viresh.kumar@st.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 30 Aug 2010 15:14:29 +0300 Message-ID: <1283170469.12995.53.camel@brekeke> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: pratyush.anand@st.com, vipulkumar.samar@st.com, bhupesh.sharma@st.com, armando.visconti@st.com, Vipin Kumar , shiraz.hashim@st.com, rajeev-dlh.kumar@st.com, linux-mtd@lists.infradead.org, deepak.sikri@st.com, dwmw2@infradead.org, linux-arm-kernel@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 (Битюцкий Артём)