summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-04-16 16:12:33 -0400
committerTom Rini <trini@ti.com>2013-04-16 16:12:33 -0400
commit314dd4fecc87175f6e79eb977966fb60b33c543c (patch)
treebfe799c8730caab5ca507e50ab8dfe09e8c4abfb /common
parent5873d0fbad2b1a94db7b9c8c8f5d77c10479a9dd (diff)
parent617c246f3c123d4a2d4dba9d08a4a2dd324cb407 (diff)
downloadtalos-obmc-uboot-314dd4fecc87175f6e79eb977966fb60b33c543c.tar.gz
talos-obmc-uboot-314dd4fecc87175f6e79eb977966fb60b33c543c.zip
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c5
-rw-r--r--common/board_r.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 769889123b..00ca81126c 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,
@@ -856,8 +856,7 @@ static init_fnc_t init_sequence_f[] = {
#endif
#ifdef CONFIG_X86
dram_init_f, /* configure available RAM banks */
- /* x86 would prefer that this happens after relocation */
- dram_init,
+ calculate_relocation_address,
#endif
announce_dram_init,
/* TODO: unify all these dram functions? */
diff --git a/common/board_r.c b/common/board_r.c
index 9605f80a0c..2b17fa6cfe 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,
OpenPOWER on IntegriCloud