summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorGuenter Roeck2018-08-29 02:33:46 +0200
committerPalmer Dabbelt2018-09-05 02:04:50 +0200
commite866d3e84eb7c9588afb77604d417e8cc49fe216 (patch)
tree7d48b68919b8cb33b100ee2766d1112b3d1d3376 /certs
parentLinux 4.19-rc2 (diff)
downloadkernel-qcow2-linux-e866d3e84eb7c9588afb77604d417e8cc49fe216.tar.gz
kernel-qcow2-linux-e866d3e84eb7c9588afb77604d417e8cc49fe216.tar.xz
kernel-qcow2-linux-e866d3e84eb7c9588afb77604d417e8cc49fe216.zip
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions