]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
TI DaVinci: DM6446: Fix Compilation error in NAND mode
authorSandeep Paulraj <s-paulraj@ti.com>
Wed, 9 Sep 2009 19:26:00 +0000 (15:26 -0400)
committerTom Rix <Tom.Rix@windriver.com>
Tue, 13 Oct 2009 11:17:33 +0000 (06:17 -0500)
The Default mode that is built for the Davinci DVEVM happens
to be the NOR mode.
When we want to build for the NAND mode, we get a compilation
error. This is overcome by defining the CONFIG_MTD_DEVICE
flag in the NAND mode.
The image built for NAND mode was successfully tested on the
DaVinci DM6446 EVM.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/davinci_dvevm.h

index af669bcb8e02b4508c1506c7b59f19f3f47005b2..f7d23990c41707a3a14832300213f777d02430d9 100644 (file)
 #define CONFIG_ENV_SECT_SIZE   512     /* Env sector Size */
 #define CONFIG_ENV_SIZE                (16 << 10)      /* 16 KiB */
 #define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTD_DEVICE
 #define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT         \
        "nand0=davinci_nand.0"