aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r--arch/sh/kernel/setup.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 99b4fb553bf1..8870d6ba64bf 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -421,8 +421,13 @@ void __init setup_arch(char **cmdline_p)
421 421
422 parse_early_param(); 422 parse_early_param();
423 423
424 uncached_init();
425
424 plat_early_device_setup(); 426 plat_early_device_setup();
425 427
428 /* Let earlyprintk output early console messages */
429 early_platform_driver_probe("earlyprintk", 1, 1);
430
426 sh_mv_setup(); 431 sh_mv_setup();
427 432
428 /* 433 /*
@@ -438,7 +443,7 @@ void __init setup_arch(char **cmdline_p)
438 443
439 nodes_clear(node_online_map); 444 nodes_clear(node_online_map);
440 445
441 /* Setup bootmem with available RAM */ 446 pmb_init();
442 lmb_init(); 447 lmb_init();
443 setup_memory(); 448 setup_memory();
444 sparse_init(); 449 sparse_init();
@@ -446,13 +451,14 @@ void __init setup_arch(char **cmdline_p)
446#ifdef CONFIG_DUMMY_CONSOLE 451#ifdef CONFIG_DUMMY_CONSOLE
447 conswitchp = &dummy_con; 452 conswitchp = &dummy_con;
448#endif 453#endif
454 paging_init();
455
456 ioremap_fixed_init();
449 457
450 /* Perform the machine specific initialisation */ 458 /* Perform the machine specific initialisation */
451 if (likely(sh_mv.mv_setup)) 459 if (likely(sh_mv.mv_setup))
452 sh_mv.mv_setup(cmdline_p); 460 sh_mv.mv_setup(cmdline_p);
453 461
454 paging_init();
455
456#ifdef CONFIG_SMP 462#ifdef CONFIG_SMP
457 plat_smp_setup(); 463 plat_smp_setup();
458#endif 464#endif