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

2016-10-03 Thread Simon Glass
On 1 October 2016 at 08:19, Paul Burton 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,

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

2016-10-01 Thread Paul Burton
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