This code seems unnecessarily complex. We really just need to check the global_data. Now that is it all in one place, and not arch-specific, this is pretty easy. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
Makefile | ||
_ashldi3.S | ||
_ashrdi3.S | ||
_lshrdi3.S | ||
bat_rw.c | ||
board.c | ||
bootm.c | ||
cache.c | ||
extable.c | ||
ide.c | ||
ide.h | ||
interrupts.c | ||
kgdb.c | ||
memcpy_mpc5200.c | ||
ppccache.S | ||
ppcstring.S | ||
reloc.S | ||
spl.c | ||
ticks.S | ||
time.c |