summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/u-boot-arm.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-08 08:06:02 (GMT)
committerTom Rini <trini@ti.com>2013-05-14 19:37:25 (GMT)
commitc19d13b030e93c6b30f61743e940da8d4418e714 (patch)
tree3cff800eb0fb598ba44d62e4adfb85f455db7431 /arch/arm/include/asm/u-boot-arm.h
parent13d06981a9829c9edcfd6f9f582d216fbaed95e5 (diff)
downloadu-boot-c19d13b030e93c6b30f61743e940da8d4418e714.tar.xz
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>
Diffstat (limited to 'arch/arm/include/asm/u-boot-arm.h')
-rw-r--r--arch/arm/include/asm/u-boot-arm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index f16861a..c01eef3 100644
--- a/arch/arm/include/asm/u-boot-arm.h
+++ b/arch/arm/include/asm/u-boot-arm.h
@@ -54,8 +54,6 @@ int arch_early_init_r(void);
int board_init(void);
int dram_init (void);
void dram_init_banksize (void);
-void setup_serial_tag (struct tag **params);
-void setup_revision_tag (struct tag **params);
/* cpu/.../interrupt.c */
int arch_interrupt_init (void);