diff options
Diffstat (limited to 'sys/arm/mv/mv_machdep.c')
-rw-r--r-- | sys/arm/mv/mv_machdep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arm/mv/mv_machdep.c b/sys/arm/mv/mv_machdep.c index 771f16c..fdcef9c 100644 --- a/sys/arm/mv/mv_machdep.c +++ b/sys/arm/mv/mv_machdep.c @@ -340,6 +340,7 @@ initarm(void *mdp, void *unused __unused) #endif } + preload_addr_relocate = KERNVIRTADDR - KERNPHYSADDR; } else { /* Fall back to hardcoded metadata. */ lastaddr = fake_preload_metadata(); @@ -511,13 +512,8 @@ initarm(void *mdp, void *unused __unused) if (platform_mpp_init() != 0) while (1); - /* - * Initialize GPIO as early as possible. - */ - if (platform_gpio_init() != 0) - while (1); - cninit(); + physmem = memsize / PAGE_SIZE; debugf("initarm: console initialized\n"); |