summaryrefslogtreecommitdiffstats
path: root/include/configs/davinci_dvevm.h
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-09-09 15:26:00 -0400
committerTom Rix <Tom.Rix@windriver.com>2009-10-13 06:17:33 -0500
commit5d0f53624c24eaf82d58368a6a5b8476392dd5c7 (patch)
treede5a56862e38774da84f68010e31a70188f084b8 /include/configs/davinci_dvevm.h
parent7a2aa8b68120f333ed2edc33475ca195810d6cb1 (diff)
downloadtalos-obmc-uboot-5d0f53624c24eaf82d58368a6a5b8476392dd5c7.tar.gz
talos-obmc-uboot-5d0f53624c24eaf82d58368a6a5b8476392dd5c7.zip
TI DaVinci: DM6446: Fix Compilation error in NAND mode
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>
Diffstat (limited to 'include/configs/davinci_dvevm.h')
-rw-r--r--include/configs/davinci_dvevm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/davinci_dvevm.h b/include/configs/davinci_dvevm.h
index af669bcb8e..f7d23990c4 100644
--- a/include/configs/davinci_dvevm.h
+++ b/include/configs/davinci_dvevm.h
@@ -121,6 +121,7 @@
#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"
OpenPOWER on IntegriCloud