Guenter Roeck e866d3e84e
riscv: Do not overwrite initrd_start and initrd_end
setup_initrd() overwrites initrd_start and initrd_end if __initramfs_size
is larger than 0, which is always true even if there is no embedded
initramfs. This prevents booting qemu with "-initrd" parameter.
Overwriting initrd_start and initrd_end is not necessary since
__initramfs_start and __initramfs_size are used directly in
populate_rootfs() to load the built-in initramfs, so just drop
that code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-09-04 17:04:50 -07:00
..
2017-09-26 15:26:49 -07:00
2017-09-26 15:26:46 -07:00
2017-09-26 15:26:48 -07:00
2018-08-13 08:31:31 -07:00
2018-07-04 14:12:53 -07:00
2018-07-04 14:12:47 -07:00
2017-09-26 15:26:48 -07:00
2018-01-30 19:12:06 -08:00
2017-09-26 15:26:49 -07:00