From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_Bie=c3=9fmann?= Date: Sun, 24 Jan 2016 22:22:50 +0100 Subject: [U-Boot] [PATCH 1/4] atmel_nand: use nand ecc_{strength, step}_ds instead of our own function In-Reply-To: <1448353614-26398-2-git-send-email-josh.wu@atmel.com> References: <1448353614-26398-1-git-send-email-josh.wu@atmel.com> <1448353614-26398-2-git-send-email-josh.wu@atmel.com> Message-ID: <56A540AA.3040106@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 24.11.15 09:26, Josh Wu wrote: > Since ecc_{strength,step}_ds is introduced in nand_chip structure for > minimum ecc requirements. So we can use them directly and remove our > own get_onfi_ecc_param function. > > Signed-off-by: Josh Wu Reviewed-by: Andreas Bie?mann > --- > > drivers/mtd/nand/atmel_nand.c | 44 +++++++------------------------------------ > 1 file changed, 7 insertions(+), 37 deletions(-)