[U-Boot] [PATCH 19/27] image: Account for CONFIG_SYS_SDRAM_BASE being physical

Simon Glass sjg at chromium.org
Mon Oct 3 23:49:50 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,
> where it is instead a virtual address. In preparation for making it
> physical, use phys_to_virt to translate CONFIG_SYS_SDRAM_BASE & the
> associated bi_memstart field of struct bd_info to virtual addresses for
> use.
>
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> ---
>
>  common/image.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