]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix compile for omap1
authorTony Lindgren <tony@atomide.com>
Thu, 1 Nov 2007 08:28:54 +0000 (01:28 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 1 Nov 2007 08:28:54 +0000 (01:28 -0700)
Based on an earlier patch by Luís Vitório Cargnini, add a dummy define
for OMAP2_CTRL_BASE. Eventually this will get fixed by setting a base
address during boot.

Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/omap24xx.h

index 2e944a159ec1abdb92b2f7b941fc038ddac23ed1..48738dc919fe1449d6ca0af22cf4f919265ce60e 100644 (file)
 #define OMAP2_VA_IC_BASE       IO_ADDRESS(OMAP24XX_IC_BASE)
 #define OMAP2_CTRL_BASE                OMAP243X_CTRL_BASE
 
+#else
+/* FIXME: These will go away soon */
+#define OMAP2_CTRL_BASE                L4_24XX_BASE
 #endif
 
 /* Control module */