[U-Boot] [PATCH] OMAP3: Fix missing GPMC_CONFIG_CS0_BASE

Dirk Behme dirk.behme at googlemail.com
Sat Aug 8 12:46:09 CEST 2009


Applying two indepenent OMAP3 patches resulted in missing
GPMC_CONFIG_CS0_BASE. Patch "omap3: embedd gpmc_cs into gpmc
config struct" removes GPMC_CONFIG_CS0_BASE, independent patch
"omap3: bug fix for NOR boot support" introduces it's usage.
Re-introduce GPMC_CONFIG_CS0_BASE.

Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>

---
 include/asm-arm/arch-omap3/cpu.h |    1 +
 1 file changed, 1 insertion(+)

Index: u-boot-main/include/asm-arm/arch-omap3/cpu.h
===================================================================
--- u-boot-main.orig/include/asm-arm/arch-omap3/cpu.h
+++ u-boot-main/include/asm-arm/arch-omap3/cpu.h
@@ -91,6 +91,7 @@ struct ctrl_id {
 
 #define GPMC_BASE		(OMAP34XX_GPMC_BASE)
 #define GPMC_CONFIG_CS0		0x60
+#define GPMC_CONFIG_CS0_BASE	(GPMC_BASE + GPMC_CONFIG_CS0)
 
 #ifndef __KERNEL_STRICT_NAMES
 #ifndef __ASSEMBLY__


More information about the U-Boot mailing list