]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: Refactor bootm to reduce #ifdefs
authorSimon Glass <sjg@chromium.org>
Wed, 8 May 2013 08:06:02 +0000 (08:06 +0000)
committerTom Rini <trini@ti.com>
Tue, 14 May 2013 19:37:25 +0000 (15:37 -0400)
commitc19d13b030e93c6b30f61743e940da8d4418e714
tree3cff800eb0fb598ba44d62e4adfb85f455db7431
parent13d06981a9829c9edcfd6f9f582d216fbaed95e5
arm: Refactor bootm to reduce #ifdefs

With fewer #ifdefs the code is more readable and more of the code is
compiled for all boards. Add defines in the header file to control
what features are enabled, and then use if() instead of #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/bootm.h
arch/arm/include/asm/u-boot-arm.h
arch/arm/lib/bootm.c
common/cmd_bootm.c