summaryrefslogtreecommitdiff
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2020-07-04 23:53:49 +0300
committerStafford Horne <shorne@gmail.com>2020-08-04 04:59:45 +0300
commitff6c923dbec332dd6c6f649b754f4edd8f0a3c50 (patch)
treeb415803785617bb8d754e05227a8f1452539b63c /kernel/kmod.c
parentd0b7213f895cd0e209ff5ba89998aeb09267bdc7 (diff)
downloadlinux-ff6c923dbec332dd6c6f649b754f4edd8f0a3c50.tar.xz
openrisc: Add support for external initrd images
In OpenRISC we set the initrd_start and initrd_end based on the symbols we setup in vmlinux.lds.S. However, this is not needed if we use the generic linker description in INIT_DATA_SECTION. Removing our own initrd setup reduces code, but also the generic code supports loading external initrd images. A bootloader can load a rootfs image into memory and we can configure devicetree to load it with: chosen { bootargs = "earlycon"; stdout-path = "uart0:115200"; linux,initrd-start = < 0x08000100 >; linux,initrd-end = < 0x08200000 >; }; Reported-by: Mateusz Holenko <mholenko@antmicro.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions