diff options
author | 2022-06-24 17:06:51 +0200 | |
---|---|---|
committer | 2022-06-24 17:18:11 +0100 | |
commit | 7559d9f97581654fbd0c3fa21878b6d043bbe439 (patch) | |
tree | 1d96973cb789061baba7935135ae8466b6e5a351 /arch/arm64/kernel/setup.c | |
parent | arm64: head: avoid relocating the kernel twice for KASLR (diff) | |
download | wireguard-linux-7559d9f97581654fbd0c3fa21878b6d043bbe439.tar.xz wireguard-linux-7559d9f97581654fbd0c3fa21878b6d043bbe439.zip |
arm64: setup: drop early FDT pointer helpers
We no longer need to call into the kernel to map the FDT before calling
into the kernel so let's drop the helpers we added for this.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-22-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | arch/arm64/kernel/setup.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index fea3223704b6..d0e6c7a291da 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -163,21 +163,6 @@ static void __init smp_build_mpidr_hash(void) pr_warn("Large number of MPIDR hash buckets detected\n"); } -static void *early_fdt_ptr __initdata; - -void __init *get_early_fdt_ptr(void) -{ - return early_fdt_ptr; -} - -asmlinkage void __init early_fdt_map(u64 dt_phys) -{ - int fdt_size; - - early_fixmap_init(); - early_fdt_ptr = fixmap_remap_fdt(dt_phys, &fdt_size, PAGE_KERNEL); -} - static void __init setup_machine_fdt(phys_addr_t dt_phys) { int size; |