[U-Boot] [PATCH 2/2] ARM DaVinci: Removed redundant NAND initialization code.
ksi at koi8.net
ksi at koi8.net
Tue Aug 19 23:00:17 CEST 2008
On Tue, 19 Aug 2008, Hugo Villeneuve wrote:
ACK by: Sergey Kubushyn <ksi at koi8.net>
> ARM DaVinci: Removed redundant NAND initialization code.
>
> Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
>
> ---
>
> cpu/arm926ejs/davinci/nand.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/cpu/arm926ejs/davinci/nand.c b/cpu/arm926ejs/davinci/nand.c
> index 080b32c..5a1da63 100644
> --- a/cpu/arm926ejs/davinci/nand.c
> +++ b/cpu/arm926ejs/davinci/nand.c
> @@ -369,12 +369,11 @@ int board_nand_init(struct nand_chip *nand)
> nand->options = NAND_USE_FLASH_BBT;
> #endif
> #ifdef CFG_NAND_HW_ECC
> -#ifdef CFG_NAND_LARGEPAGE
> nand->ecc.mode = NAND_ECC_HW;
> +#ifdef CFG_NAND_LARGEPAGE
> nand->ecc.size = 2048;
> nand->ecc.bytes = 12;
> #elif defined(CFG_NAND_SMALLPAGE)
> - nand->ecc.mode = NAND_ECC_HW;
> nand->ecc.size = 512;
> nand->ecc.bytes = 3;
> #else
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
More information about the U-Boot
mailing list