summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2019-04-24 18:21:29 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-05-03 17:42:23 +0300
commit6943cc9732202b9c65990cff9f74cea6b8173e09 (patch)
treecc1b2b268e4789d538d01f8746865230be7a4b4d /drivers
parentfeda3b44a999f25bcadaa8b345c740ea05c0bd22 (diff)
downloadu-boot-6943cc9732202b9c65990cff9f74cea6b8173e09.tar.xz
arch: mips: Update initrd_start and initrd_end
Microsemi SoC defines CONFIG_SYS_SDRAM_BASE to be 0x80000000, which represents the start of kseg0 and represents a virtual address. Meaning that the initrd_start and initrd_end point somewhere kseg0. When these parameters are passed to linux kernel through DT they are pointing somewhere in kseg0 which is a virtual address but linux kernel expects the addresses to be physical addresses(in kuseg) because it is converting the physical address to a virtual one. Therefore update the uboot to pass the physical address of initrd_start and initrd_end by converting them using the function virt_to_phys before setting up the DT. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions