No need to set physmem in each initarm() instance anymore, it's handled

in common code now.
This commit is contained in:
Ian Lepore 2014-02-09 14:46:50 +00:00
parent d215d5c662
commit 73ab448c43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261657
3 changed files with 0 additions and 4 deletions

View file

@ -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);

View file

@ -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

View file

@ -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 */