]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
of/fdt: Populate phys_initrd_start/phys_initrd_size from FDT
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 5 Nov 2018 22:54:28 +0000 (14:54 -0800)
committerRob Herring <robh@kernel.org>
Mon, 26 Nov 2018 21:50:26 +0000 (15:50 -0600)
commitfe7db7570379dafec67430bb843d2e78df89e7f1
treeb7337cb3188425cbafe46e2fabb7a507991dd08e
parentb1ab95c63622e9d9bd0ce685e149034d393afc2e
of/fdt: Populate phys_initrd_start/phys_initrd_size from FDT

Now that we have central and global variables holding the physical
address and size of the initrd, we can have
early_init_dt_check_for_initrd() populate
phys_initrd_start/phys_initrd_size for us.

This allows us to remove a chunk of code from arch/arm/mm/init.c
introduced with commit 65939301acdb ("arm: set initrd_start/initrd_end
for fdt scan").

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>
arch/arm/mm/init.c
drivers/of/fdt.c