[U-Boot] [PATCH 18/27] board_f: Account for CONFIG_SYS_SDRAM_BASE being physical

Simon Glass sjg at chromium.org
Mon Oct 3 23:49:47 CEST 2016


On 1 October 2016 at 08:19, Paul Burton <paul.burton at 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 at imgtec.com>
> ---
>
>  common/board_f.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list