summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/cpu.h
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2014-05-08 21:43:45 +0530
committerTom Rini <trini@ti.com>2014-05-23 16:12:02 -0400
commite4426d07b6075bd7701f8e92280a85843c2502b6 (patch)
tree642aaf1290f9ee3d3d260fb7fedc5c7cac1fba6c /arch/arm/include/asm/arch-omap4/cpu.h
parent29cc1d8e26bd5f16e10b62f26d6098b1a5117503 (diff)
downloadtalos-obmc-uboot-e4426d07b6075bd7701f8e92280a85843c2502b6.tar.gz
talos-obmc-uboot-e4426d07b6075bd7701f8e92280a85843c2502b6.zip
ARM: omap4: 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-omap4/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/cpu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-omap4/cpu.h b/arch/arm/include/asm/arch-omap4/cpu.h
index c21fb54714..f7595ae577 100644
--- a/arch/arm/include/asm/arch-omap4/cpu.h
+++ b/arch/arm/include/asm/arch-omap4/cpu.h
@@ -12,6 +12,8 @@
#include <asm/types.h>
#endif /* !(__KERNEL_STRICT_NAMES || __ASSEMBLY__) */
+#include <asm/arch/hardware.h>
+
#ifndef __KERNEL_STRICT_NAMES
#ifndef __ASSEMBLY__
struct gptimer {
@@ -57,9 +59,6 @@ struct watchdog {
#define TCLR_AR (0x1 << 1)
#define TCLR_PRE (0x1 << 5)
-/* GPMC BASE */
-#define GPMC_BASE (OMAP44XX_GPMC_BASE)
-
/* I2C base */
#define I2C_BASE1 (OMAP44XX_L4_PER_BASE + 0x70000)
#define I2C_BASE2 (OMAP44XX_L4_PER_BASE + 0x72000)
OpenPOWER on IntegriCloud