No need to set physmem in each initarm() instance anymore, it's handled
in common code now.
This commit is contained in:
parent
d215d5c662
commit
73ab448c43
@ -1215,8 +1215,6 @@ initarm(struct arm_boot_params *abp)
|
||||
|
||||
cninit();
|
||||
|
||||
physmem = memsize / PAGE_SIZE;
|
||||
|
||||
debugf("initarm: console initialized\n");
|
||||
debugf(" arg1 kmdp = 0x%08x\n", (uint32_t)kmdp);
|
||||
debugf(" boothowto = 0x%08x\n", boothowto);
|
||||
|
@ -590,7 +590,6 @@ initarm(struct arm_boot_params *abp)
|
||||
printf("Warning: No soc support for %s found.\n", soc_info.name);
|
||||
|
||||
memsize = board_init();
|
||||
physmem = memsize / PAGE_SIZE;
|
||||
|
||||
/*
|
||||
* Pages were allocated during the secondary bootstrap for the
|
||||
|
@ -205,7 +205,6 @@ initarm(struct arm_boot_params *abp)
|
||||
arm_physmem_kernaddr = abp->abp_physaddr;
|
||||
cninit();
|
||||
set_cpufuncs();
|
||||
physmem = memsize / PAGE_SIZE;
|
||||
pcpu0_init();
|
||||
|
||||
/* Do basic tuning, hz etc */
|
||||
|
Loading…
x
Reference in New Issue
Block a user