summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/omap.h
diff options
context:
space:
mode:
authorSRICHARAN R <r.sricharan@ti.com>2013-02-04 04:22:01 +0000
committerTom Rini <trini@ti.com>2013-03-11 11:06:09 -0400
commitee9447bfe37a646a8dce182e6f625f27c10512a0 (patch)
treeee29ae05ce69c08b3d8c78c96251629dec3118a5 /arch/arm/include/asm/arch-omap4/omap.h
parent01b753ff7badb5b8670794de3d5dd71e1c4c9baf (diff)
downloadtalos-obmc-uboot-ee9447bfe37a646a8dce182e6f625f27c10512a0.tar.gz
talos-obmc-uboot-ee9447bfe37a646a8dce182e6f625f27c10512a0.zip
ARM: OMAP4+: Cleanup the clocks layer
Currently there is quite a lot of code which is duplicated in the clocks code for OMAP 4 and 5 Socs. Avoiding this here by moving the clocks data to a SOC specific place and the sharing the common code. This helps in addition of a new Soc with minimal changes. Signed-off-by: R Sricharan <r.sricharan@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/omap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap4/omap.h b/arch/arm/include/asm/arch-omap4/omap.h
index 86ba3359ec..1c0ce9b38b 100644
--- a/arch/arm/include/asm/arch-omap4/omap.h
+++ b/arch/arm/include/asm/arch-omap4/omap.h
@@ -179,7 +179,8 @@ struct control_lpddr2io_regs {
#define OMAP4_SRAM_SCRATCH_EMIF_T_NUM (SRAM_SCRATCH_SPACE_ADDR + 0xC)
#define OMAP4_SRAM_SCRATCH_EMIF_T_DEN (SRAM_SCRATCH_SPACE_ADDR + 0x10)
#define OMAP_SRAM_SCRATCH_PRCM_PTR (SRAM_SCRATCH_SPACE_ADDR + 0x14)
-#define OMAP4_SRAM_SCRATCH_SPACE_END (SRAM_SCRATCH_SPACE_ADDR + 0x18)
+#define OMAP_SRAM_SCRATCH_DPLLS_PTR (SRAM_SCRATCH_SPACE_ADDR + 0x18)
+#define OMAP4_SRAM_SCRATCH_SPACE_END (SRAM_SCRATCH_SPACE_ADDR + 0x1C)
/* ROM code defines */
/* Boot device */
OpenPOWER on IntegriCloud