summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-omap5/cpu.h
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2014-05-08 21:43:46 +0530
committerTom Rini <trini@ti.com>2014-05-23 16:12:02 -0400
commitcd324a6dd252856fa55bd17d539a9466ae86411a (patch)
tree381ba3900a7520ff3ad8f1ccc59b8b2f4203a6ae /arch/arm/include/asm/arch-omap5/cpu.h
parente4426d07b6075bd7701f8e92280a85843c2502b6 (diff)
ARM: omap5: add platform specific info for GPMC and ELM controllers
This patch moves platform specific information for GPMC and ELM controller into separate header files, so that any derivative devices do not mess other header files. Platform specific information added into arch-xx/../hardware.h - CPU related platform specific details like base-address of GPMC and ELM Platform specific information added into arch-xx/../mem.h - Generic configs for GPMC and ELM initialization. - Hardware parameters or constrains specific to GPMC and ELM IP like; number of max number of chip-selects available Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/cpu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h
index 5f1d7454d0..6109b92777 100644
--- a/arch/arm/include/asm/arch-omap5/cpu.h
+++ b/arch/arm/include/asm/arch-omap5/cpu.h
@@ -14,6 +14,8 @@
#include <asm/types.h>
#endif /* !(__KERNEL_STRICT_NAMES || __ASSEMBLY__) */
+#include <asm/arch/hardware.h>
+
#ifndef __KERNEL_STRICT_NAMES
#ifndef __ASSEMBLY__
struct gptimer {
@@ -63,9 +65,6 @@ struct watchdog {
#define TCLR_AR (0x1 << 1)
#define TCLR_PRE (0x1 << 5)
-/* GPMC BASE */
-#define GPMC_BASE (OMAP54XX_GPMC_BASE)
-
/* I2C base */
#define I2C_BASE1 (OMAP54XX_L4_PER_BASE + 0x70000)
#define I2C_BASE2 (OMAP54XX_L4_PER_BASE + 0x72000)