diff options
| author | Stafford Horne <shorne@gmail.com> | 2020-07-05 05:53:49 +0900 | 
|---|---|---|
| committer | Stafford Horne <shorne@gmail.com> | 2020-08-04 10:59:45 +0900 | 
| commit | ff6c923dbec332dd6c6f649b754f4edd8f0a3c50 (patch) | |
| tree | b415803785617bb8d754e05227a8f1452539b63c /drivers/usb/cdns3/cdns3-trace.c | |
| parent | d0b7213f895cd0e209ff5ba89998aeb09267bdc7 (diff) | |
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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
