Kefeng Wang c72160fe05
initramfs: Provide a common initrd reserve function
Some architectures(eg, ARM and riscv) have similar logic to
check and reserve the memory of initrd, let's provide a common
function reserve_initrd_mem() to reduce duplicated code.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-02-18 23:17:57 -08:00
..
2020-12-15 10:21:48 +01:00
2020-12-21 10:28:02 -08:00
2020-12-16 13:42:26 -08:00
2020-12-16 13:34:31 -08:00
2020-12-14 15:57:14 +01:00
2020-12-24 12:28:35 -08:00