]> git.sur5r.net Git - u-boot/commit
armv8: fix #if around spin-table code in start.S
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 27 Dec 2016 09:19:43 +0000 (11:19 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 14 Jan 2017 21:46:27 +0000 (16:46 -0500)
commit4b105f6ca96a1489ec094f10f0d1c5e95666463e
tree03ab25e176fc22d7138b2e0f7b48a9d9c966b9b5
parent22802f4e3a0a8ead928a0af06b7719b604a98afb
armv8: fix #if around spin-table code in start.S

Using CONFIG_IS_ENABLED() doesn't work in SPL. This patch replaces the only
occurrence of CONFIG_IS_ENABLED() in start.S to a regular #if defined().
It also adds "&& !defined(CONFIG_SPL_BUILD)" to that #if statement because
the spin-table code can't currently work in SPL, and the spin-table file
isn't even compiled in SPL.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
arch/arm/cpu/armv8/start.S