igep00x0: Allow boot from onenand flash.
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Mon, 23 May 2011 11:25:42 +0000 (16:55 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Mon, 23 May 2011 11:25:42 +0000 (16:55 +0530)
This patch adds support for booting from onenand flash on
IGEP boards.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
drivers/Makefile
include/configs/igep00x0.h

index a9ba774..25c5735 100644 (file)
@@ -56,6 +56,10 @@ ifeq ($(BOARD), omap2430sdp)
 COBJS    += k9k1216.o
 endif
 
+ifeq ($(BOARD), igep00x0)
+COBJS    += onenand.o
+endif
+
 ## Disabled for now:
 ##       cs8900.o ct69000.o dataflash.o dc2114x.o ds1722.o \
 ##       lan91c96.o mw_eeprom.o natsemi.o \
index 02c088d..563cdfd 100644 (file)
 /*
  * Board oneNAND Info.
  */
-#define CONFIG_ONENAND                  1
+#define CFG_ONENAND            1
 
 #define ONENAND_BASE   ONENAND_MAP
 #define ONENAND_ADDR   ONENAND_BASE