File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 5
5
6
6
#include <uapi/asm/setup.h>
7
7
8
- void * get_early_fdt_ptr (void );
9
- void early_fdt_map (u64 dt_phys );
10
-
11
8
/*
12
9
* These two variables are used in the head.S file.
13
10
*/
Original file line number Diff line number Diff line change @@ -446,8 +446,6 @@ SYM_FUNC_START_LOCAL(__primary_switched)
446
446
#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
447
447
bl kasan_early_init
448
448
#endif
449
- mov x0 , x21 // pass FDT address in x0
450
- bl early_fdt_map // Try mapping the FDT early
451
449
mov x0 , x22 // pass FDT address in x0
452
450
bl init_feature_override // Parse cpu feature overrides
453
451
mov x0 , x20
Original file line number Diff line number Diff line change @@ -163,21 +163,6 @@ static void __init smp_build_mpidr_hash(void)
163
163
pr_warn ("Large number of MPIDR hash buckets detected\n" );
164
164
}
165
165
166
- static void * early_fdt_ptr __initdata ;
167
-
168
- void __init * get_early_fdt_ptr (void )
169
- {
170
- return early_fdt_ptr ;
171
- }
172
-
173
- asmlinkage void __init early_fdt_map (u64 dt_phys )
174
- {
175
- int fdt_size ;
176
-
177
- early_fixmap_init ();
178
- early_fdt_ptr = fixmap_remap_fdt (dt_phys , & fdt_size , PAGE_KERNEL );
179
- }
180
-
181
166
static void __init setup_machine_fdt (phys_addr_t dt_phys )
182
167
{
183
168
int size ;
You can’t perform that action at this time.
0 commit comments