arm: Remove use of board_early_init_r/last_stage_init()
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:39:46 +0000 (14:39 +0000)
committerTom Rini <trini@ti.com>
Fri, 15 Mar 2013 20:13:59 +0000 (16:13 -0400)
These boards define CONFIG_LAST_STAGE_INIT and CONFIG_BOARD_EARLY_INIT_R
but these options are not available on ARM. Move them into the powerpc
common file instead.

This change affects: km_kirkwood_pci, mgcoge3un, kmnusa, kmcoge5un,
km_kirkwood and portl2.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h

index 796f33080d359a3f47c696ab30e4f76bd519c495..3b15c4e6910010197a6fa9c7952e47a8caa4b690 100644 (file)
 #ifndef __CONFIG_KEYMILE_H
 #define __CONFIG_KEYMILE_H
 
-/* Do boardspecific init for all boards */
-#define CONFIG_BOARD_EARLY_INIT_R
-#define CONFIG_LAST_STAGE_INIT
-
 #define CONFIG_BOOTCOUNT_LIMIT
 
 /*
index bd5bdbcb4895a6b3dd856af6915104fe9e7d1ed7..b84f12dbebddcd484ac7e435711180e2c8be1f0f 100644 (file)
 #ifndef __CONFIG_KEYMILE_POWERPC_H
 #define __CONFIG_KEYMILE_POWERPC_H
 
+/* Do boardspecific init for all boards */
+#define CONFIG_BOARD_EARLY_INIT_R
+#define CONFIG_LAST_STAGE_INIT
+
 #define CONFIG_BOOTCOUNT_LIMIT
 
 #define CONFIG_CMD_DTT