diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-11-05 23:54:27 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-11-26 22:50:02 +0100 |
commit | b1ab95c63622e9d9bd0ce685e149034d393afc2e (patch) | |
tree | 35fd6535f0b8c6934fb86b86754d300c6d7898f8 /drivers/of | |
parent | nds32: Remove phys_initrd_start and phys_initrd_size (diff) | |
download | linux-b1ab95c63622e9d9bd0ce685e149034d393afc2e.tar.xz linux-b1ab95c63622e9d9bd0ce685e149034d393afc2e.zip |
arch: Make phys_initrd_start and phys_initrd_size global variables
Make phys_initrd_start and phys_initrd_size global variables declared in
init/do_mounts_initrd.c such that we can later have generic code in
drivers/of/fdt.c populate those variables for us.
This requires both the ARM and unicore32 implementations to be properly
guarded against CONFIG_BLK_DEV_INITRD, and also initialize the variables
to the expected default values (unicore32).
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>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions