
3 Oct
2016
3 Oct
'16
11:49 p.m.
On 1 October 2016 at 08:19, Paul Burton paul.burton@imgtec.com wrote:
README declares that CONFIG_SYS_SDRAM_BASE is meant to be the physical address of SDRAM, but right now that is not the case on MIPS systems. In preparation for making it so, use phys_to_virt to translate CONFIG_SYS_SDRAM_BASE to the ram_top field of struct global_data which is then used to calculate most memory addresses used by U-Boot.
Signed-off-by: Paul Burton paul.burton@imgtec.com
common/board_f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org