From: Enric Balletbo i Serra Date: Mon, 23 May 2011 11:25:42 +0000 (+0530) Subject: igep00x0: Allow boot from onenand flash. X-Git-Tag: v1.5.1~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b1732220078d47c18a84cbafc52e45db71f13d;p=pandora-x-loader.git igep00x0: Allow boot from onenand flash. This patch adds support for booting from onenand flash on IGEP boards. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Anand Gadiyar --- diff --git a/drivers/Makefile b/drivers/Makefile index a9ba774..25c5735 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -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 \ diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index 02c088d..563cdfd 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -109,7 +109,7 @@ /* * Board oneNAND Info. */ -#define CONFIG_ONENAND 1 +#define CFG_ONENAND 1 #define ONENAND_BASE ONENAND_MAP #define ONENAND_ADDR ONENAND_BASE