From a3c9da54455c7be9ccb68a6dd4f8bf5de0779ca5 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 1 Nov 2007 01:28:54 -0700 Subject: [PATCH] ARM: OMAP: Fix compile for omap1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- include/asm-arm/arch-omap/omap24xx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-arm/arch-omap/omap24xx.h b/include/asm-arm/arch-omap/omap24xx.h index 2e944a159ec..48738dc919f 100644 --- a/include/asm-arm/arch-omap/omap24xx.h +++ b/include/asm-arm/arch-omap/omap24xx.h @@ -101,6 +101,9 @@ #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 */ -- 2.41.0