riscv: sifive_u: Add support for loading initrd
authorGuenter Roeck <linux@roeck-us.net>
Fri, 19 Jul 2019 13:40:43 +0000 (06:40 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:39 +0000 (08:42 -0700)
commit0f8d4462498afd2f071cb5c837750b703a48ba18
tree007b1db9a794295100ceb7d9e855c9942314b1f4
parentf8c3db33a5e863291182f8862ddf81618a7c6194
riscv: sifive_u: Add support for loading initrd

Add support for loading initrd with "-initrd <filename>"
to the sifive_u machine. This lets us boot into Linux without
disk drive.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c