aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass2015-04-29 22:26:01 -0600
committerSimon Glass2015-04-30 16:13:48 -0600
commitbcb0c61e1a7f2a418e986044a9ade06561f8f8a8 (patch)
treef99022b998eeee57503e250bc8c9c022d0599f4e /common/board_r.c
parent86196c65acd7f4a524c4d8d34fd4d9a6afe040c2 (diff)
x86: Allow CPUs to be set up after relocation
This permits init of additional CPU cores after relocation and when driver model is ready. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 307124ed804..1a46f6224fa 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -779,7 +779,7 @@ init_fnc_t init_sequence_r[] = {
initr_flash,
#endif
INIT_FUNC_WATCHDOG_RESET
-#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
+#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_X86)
/* initialize higher level parts of CPU like time base and timers */
cpu_init_r,
#endif