arm: Reduce the scope of lowlevel_init()
authorSimon Glass <sjg@chromium.org>
Tue, 3 Mar 2015 15:02:57 +0000 (08:02 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 4 Mar 2015 19:55:04 +0000 (14:55 -0500)
commit24a6bc010e7ce00a91c795562058044e9f9d5dc0
treed4edfcf92fe89ba3c3f70cc2374ca448273c86b9
parent41060bc58f80472fa8c5aa90d64750508d88a418
arm: Reduce the scope of lowlevel_init()

This function has grown into something of a monster. Some boards are setting
up a console and DRAM here in SPL. This requires global_data which should be
set up in one place (crt0.S).

There is no need for SPL to use s_init() for anything since board_init_f()
is called immediately afterwards.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv7/lowlevel_init.S