hw/openrisc/openrisc_sim: Add support for initrd loading
authorStafford Horne <shorne@gmail.com>
Wed, 9 Feb 2022 21:40:45 +0000 (06:40 +0900)
committerStafford Horne <shorne@gmail.com>
Sat, 26 Feb 2022 01:39:36 +0000 (10:39 +0900)
commit9576abf28280499a4497f39c2fae55bf97285e94
treeaad5fcdbbfffe655732a18d1125a8b9265462c25
parent5852c1f86529ca6f4055a69d1683f91384fceaed
hw/openrisc/openrisc_sim: Add support for initrd loading

The initrd passed via the command line is loaded into memory.  It's
location and size is then added to the device tree so the kernel knows
where to find it.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/openrisc/openrisc_sim.c