From 3388c8ffb612af2c9d4267e0401378c3afb05f5f Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 10 Mar 2009 13:31:34 -0700 Subject: [PATCH] Fix compile for the previous patch. The associated registers need to be defined too. Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/prcm.c | 1 + arch/arm/plat-omap/include/mach/control.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index 2f828cb8636..12c0e03a0df 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c @@ -19,6 +19,7 @@ #include #include +#include #include #include "clock.h" diff --git a/arch/arm/plat-omap/include/mach/control.h b/arch/arm/plat-omap/include/mach/control.h index 40385960db9..df7cb4b29e8 100644 --- a/arch/arm/plat-omap/include/mach/control.h +++ b/arch/arm/plat-omap/include/mach/control.h @@ -217,6 +217,10 @@ #define OMAP3_IVA2_BOOTMOD_MASK (0xf << 0) #define OMAP3_IVA2_BOOTMOD_IDLE (0x1 << 0) +#define OMAP343X_SCRATCHPAD_ROM (OMAP343X_CTRL_BASE + 0x860) +#define OMAP343X_SCRATCHPAD (OMAP343X_CTRL_BASE + 0x910) +#define OMAP343X_SCRATCHPAD_ROM_OFFSET 0x19C + #ifndef __ASSEMBLY__ #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) extern void __iomem *omap_ctrl_base_get(void); -- 2.41.1