[U-Boot] [PATCH 1/2] ARM DaVinci: Fix compilation error with new MTD code.
ksi at koi8.net
ksi at koi8.net
Tue Aug 19 23:00:56 CEST 2008
On Tue, 19 Aug 2008, Hugo Villeneuve wrote:
ACK by: Sergey Kubushyn <ksi at koi8.net>
> ARM DaVinci: Fix compilation error with new MTD code.
>
> Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
>
> ---
>
> The new nand_ecclayout structure no longer has the
> useecc member. Removed code that set this member.
>
> cpu/arm926ejs/davinci/nand.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/cpu/arm926ejs/davinci/nand.c b/cpu/arm926ejs/davinci/nand.c
> index 2aa01d6..080b32c 100644
> --- a/cpu/arm926ejs/davinci/nand.c
> +++ b/cpu/arm926ejs/davinci/nand.c
> @@ -90,7 +90,6 @@ static void nand_davinci_select_chip(struct mtd_info
> *mtd, int chip)
> #ifdef CFG_NAND_HW_ECC
> #ifdef CFG_NAND_LARGEPAGE
> static struct nand_ecclayout davinci_nand_ecclayout = {
> - .useecc = MTD_NANDECC_AUTOPLACE,
> .eccbytes = 12,
> .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
> .oobfree = {
> @@ -103,7 +102,6 @@ static struct nand_ecclayout davinci_nand_ecclayout
> = {
> };
> #elif defined(CFG_NAND_SMALLPAGE)
> static struct nand_ecclayout davinci_nand_ecclayout = {
> - .useecc = MTD_NANDECC_AUTOPLACE,
> .eccbytes = 3,
> .eccpos = {0, 1, 2},
> .oobfree = {
> _______________________________________________
> 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