omap4/5/am33xx: Make lowlevel_init available to all armv7 platforms
authorTom Rini <trini@ti.com>
Thu, 9 Aug 2012 00:03:10 +0000 (17:03 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:19 +0000 (14:58 +0200)
commit41aebf810688d606bd43b9ca336bd26d914ad2c8
tree2c71de5c327cabc43c32943b60da445861327750
parenta4a99fffd8a006d99958e5bcded36d7e7218bd36
omap4/5/am33xx: Make lowlevel_init available to all armv7 platforms

Make the lowlevel_init function that these platforms have which just
sets up the stack and calls a C function available to all armv7
platforms.  As part of this we change some of the macros that are used
to be more clear.  Previously (except for am335x evm) we had been
setting CONFIG_SYS_INIT_SP_ADDR to a series of new defines that are
equivalent to simply referencing NON_SECURE_SRAM_END.  On am335x evm we
should have been doing this initially and do now.

Cc: Sricharan R <r.sricharan@ti.com>
Tested-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/lowlevel_init.S [new file with mode: 0644]
arch/arm/cpu/armv7/omap-common/lowlevel_init.S
arch/arm/include/asm/arch-am33xx/hardware.h
arch/arm/include/asm/arch-am33xx/omap.h
arch/arm/include/asm/arch-omap4/omap.h
arch/arm/include/asm/arch-omap5/omap.h
include/configs/am335x_evm.h
include/configs/omap4_common.h
include/configs/omap5_evm.h