From: Simon Glass Date: Tue, 5 Mar 2013 14:39:46 +0000 (+0000) Subject: arm: Remove use of board_early_init_r/last_stage_init() X-Git-Tag: v2013.04-rc2~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea8c37da8eefbb5253b6c2990269f23abac3e97d;p=oweals%2Fu-boot.git arm: Remove use of board_early_init_r/last_stage_init() 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 --- diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 796f33080d..3b15c4e691 100644 --- a/include/configs/km/keymile-common.h +++ b/include/configs/km/keymile-common.h @@ -24,10 +24,6 @@ #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 /* diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index bd5bdbcb48..b84f12dbeb 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -24,6 +24,10 @@ #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