arch: Move initrd= parsing into do_mounts_initrd.c
ARC, ARM, ARM64 and Unicore32 are all capable of parsing the "initrd=" command line parameter to allow specifying the physical address and size of an initrd. Move that parsing into init/do_mounts_initrd.c such that we no longer duplicate that logic. Signed-off-by:Florian Fainelli <f.fainelli@gmail.com> Reviewed-by:
Mike Rapoport <rppt@linux.ibm.com> Signed-off-by:
Rob Herring <robh@kernel.org>
Showing
- arch/arc/mm/init.c 5 additions, 20 deletionsarch/arc/mm/init.c
- arch/arm/mm/init.c 0 additions, 17 deletionsarch/arm/mm/init.c
- arch/arm64/mm/init.c 0 additions, 18 deletionsarch/arm64/mm/init.c
- arch/unicore32/mm/init.c 0 additions, 18 deletionsarch/unicore32/mm/init.c
- init/do_mounts_initrd.c 17 additions, 0 deletionsinit/do_mounts_initrd.c
Loading
Please register or sign in to comment