]> git.dujemihanovic.xyz Git - u-boot.git/commit
am33xx: Rework #ifdef's around s_init for clarity
authorTom Rini <trini@ti.com>
Wed, 5 Mar 2014 19:57:47 +0000 (14:57 -0500)
committerTom Rini <trini@ti.com>
Wed, 12 Mar 2014 18:51:45 +0000 (14:51 -0400)
commitd73f38f7ba4d8a6309b4c35830e46935c4cd6a55
treedb5da67f0e7b818a111c9f9a5662a4a7cefb28d4
parent8ee950dd273aef6a074d41bf2ee4ef11d6f848fb
am33xx: Rework #ifdef's around s_init for clarity

The s_init function is only called on SPL or XIP cases, so lets only
build it for them.  This makes the #if logic within the function a bit
clearer as to when we are or are not calling things, and makes it easier
to see that for example preloader_console_init isn't ever called in the
non-XIP full U-Boot case.

Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/board.c