Commit 314dd4fecc87175f6e79eb977966fb60b33c543c
Exists in
master
and in
53 other branches
Merge branch 'master' of git://git.denx.de/u-boot-x86
Showing 4 changed files Side-by-side Diff
arch/x86/cpu/coreboot/sdram.c
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | return 0; |
114 | 114 | } |
115 | 115 | |
116 | -int dram_init(void) | |
116 | +int dram_init_banksize(void) | |
117 | 117 | { |
118 | 118 | int i, j; |
119 | 119 | |
... | ... | @@ -131,5 +131,10 @@ |
131 | 131 | } |
132 | 132 | } |
133 | 133 | return 0; |
134 | +} | |
135 | + | |
136 | +int dram_init(void) | |
137 | +{ | |
138 | + return dram_init_banksize(); | |
134 | 139 | } |
common/board_f.c
... | ... | @@ -755,7 +755,7 @@ |
755 | 755 | static init_fnc_t init_sequence_f[] = { |
756 | 756 | #if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \ |
757 | 757 | !defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \ |
758 | - !defined(CONFIG_MPC86xx) | |
758 | + !defined(CONFIG_MPC86xx) && !defined(CONFIG_X86) | |
759 | 759 | zero_global_data, |
760 | 760 | #endif |
761 | 761 | setup_fdt, |
... | ... | @@ -856,8 +856,7 @@ |
856 | 856 | #endif |
857 | 857 | #ifdef CONFIG_X86 |
858 | 858 | dram_init_f, /* configure available RAM banks */ |
859 | - /* x86 would prefer that this happens after relocation */ | |
860 | - dram_init, | |
859 | + calculate_relocation_address, | |
861 | 860 | #endif |
862 | 861 | announce_dram_init, |
863 | 862 | /* TODO: unify all these dram functions? */ |
common/board_r.c
include/configs/coreboot.h