armv7:TI: Add <asm/ti-common/sys_proto.h> and migrate omap_hw_init_context
authorTom Rini <trini@ti.com>
Fri, 16 May 2014 17:02:24 +0000 (13:02 -0400)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 23:40:05 +0000 (19:40 -0400)
commit939911a64bdf3594651e041f3b24a93b8a380643
tree1afcbaa2889c97c2d83d4f2116d80407f7139ffc
parentd3f041c0c4b051ed7a2f5791225b0195719e76ff
armv7:TI: Add <asm/ti-common/sys_proto.h> and migrate omap_hw_init_context

The omap_hw_init_context function (and assorted helpers) is the same for
all OMAP-derived parts as when CHSETTINGS are used, that's the same and
our DDR base is also always the same.  In order to make this common we
simply need to update the names of the define for DDR address space
which is also common.

Cc: Sricharan R. <r.sricharan@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c
arch/arm/include/asm/arch-am33xx/sys_proto.h
arch/arm/include/asm/arch-omap4/sys_proto.h
arch/arm/include/asm/arch-omap5/omap.h
arch/arm/include/asm/arch-omap5/sys_proto.h
arch/arm/include/asm/omap_common.h
arch/arm/include/asm/ti-common/sys_proto.h [new file with mode: 0644]