arm64: Utilize phys_initrd_start/phys_initrd_size
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 5 Nov 2018 22:54:29 +0000 (14:54 -0800)
committerRob Herring <robh@kernel.org>
Mon, 26 Nov 2018 21:50:31 +0000 (15:50 -0600)
commitc756c592e442ba101c91daed3524ba5b3a784ba6
treebcb00e0d80a5dd16f7a6933f93fe1e9126233d55
parentfe7db7570379dafec67430bb843d2e78df89e7f1
arm64: Utilize phys_initrd_start/phys_initrd_size

ARM64 is the only architecture that re-defines
__early_init_dt_declare_initrd() in order for that function to populate
initrd_start/initrd_end with physical addresses instead of virtual
addresses. Instead of having an override we can leverage
drivers/of/fdt.c populating phys_initrd_start/phys_initrd_size to
populate those variables for us.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/arm64/mm/init.c