u-boot-brain/arch/mips
Horatiu Vultur 6943cc9732 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>
2019-05-03 16:42:23 +02:00
..
cpu linker: Modify linker scripts to be more generic 2019-01-26 22:55:53 -05:00
dts net: mscc: serval: Add ethernet nodes for Serval 2019-05-03 16:42:23 +02:00
include/asm mips: Add SPL header 2018-12-19 15:23:01 +01:00
lib arch: mips: Update initrd_start and initrd_end 2019-05-03 16:42:23 +02:00
mach-ath79 mips: add initial support for qca956x referenced board 2019-04-12 17:32:50 +02:00
mach-bmips bmips: swapping IO space isn't required 2018-12-10 18:46:45 +01:00
mach-jz47xx MIPS: jz47xx: remove custom u-boot-spl.lds 2019-01-16 13:56:43 +01:00
mach-mscc MSCC: delete obsolete reference to MSCC_BITBANG_SPI_GPIO 2019-05-03 16:42:23 +02:00
mach-mt7620 watchdog: Implement generic watchdog_reset() version 2019-04-26 09:16:32 +02:00
mach-pic32 Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
config.mk MIPS: fix linking of standalone programs 2018-11-18 16:02:23 +01:00
Kconfig mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
Makefile mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
Makefile.postlink SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00