diff options
author | Simon Glass <sjg@chromium.org> | 2013-04-15 11:25:20 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-04-15 16:26:41 -0700 |
commit | 7525c2dac76bd739b8a1673e020031dc4a4934c4 (patch) | |
tree | 54f226728eeb9e58b94264b20bc8e2eb06fc8a87 | |
parent | 8b42dfc3b6a2c9204be2fb1079d235daa1b733fc (diff) | |
download | u-boot-imx-7525c2dac76bd739b8a1673e020031dc4a4934c4.zip u-boot-imx-7525c2dac76bd739b8a1673e020031dc4a4934c4.tar.gz u-boot-imx-7525c2dac76bd739b8a1673e020031dc4a4934c4.tar.bz2 |
x86: Allow setup code to manage its own global data
Currently x86 has its own means of managing the global data and board data
(bd_t), and this code resides in start.S. With generic board, we need to
ensure that we leave this alone - i.e. don't clear it as we do on other
archs.
This fixes a problem where the memory init data is cleared which causes
the video driver to operate very slowly.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/board_f.c | 2 | ||||
-rw-r--r-- | common/board_r.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/common/board_f.c b/common/board_f.c index 32d5215..00ca811 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -755,7 +755,7 @@ static int mark_bootstage(void) static init_fnc_t init_sequence_f[] = { #if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \ !defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \ - !defined(CONFIG_MPC86xx) + !defined(CONFIG_MPC86xx) && !defined(CONFIG_X86) zero_global_data, #endif setup_fdt, diff --git a/common/board_r.c b/common/board_r.c index 9605f80..2b17fa6 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -722,9 +722,6 @@ init_fnc_t init_sequence_r[] = { #ifdef CONFIG_CLOCKS set_cpu_clk_info, /* Setup clock information */ #endif -#ifdef CONFIG_X86 - init_bd_struct_r, -#endif initr_reloc_global_data, initr_serial, initr_announce, |