aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-g4evm.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-08 06:02:54 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-08 20:34:12 -0500
commit4ae04acb81256719a71125c0f0280e2a3ad68e25 (patch)
tree88f308d4dc70e3a196cedf3ba04781e0f7a4b138 /arch/arm/mach-shmobile/board-g4evm.c
parent62f60d6a37910501814c6281e6c21b485434a7f1 (diff)
ARM: mach-shmobile: early console support using earlyprintk
Add support for early console to the SH-Mobile boards. Simply perform an early platform probe for "earlyprintk" to trigger the early serial console code in sh-sci.c. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-g4evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-g4evm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c
index 0d2948f17766..0ddde038588e 100644
--- a/arch/arm/mach-shmobile/board-g4evm.c
+++ b/arch/arm/mach-shmobile/board-g4evm.c
@@ -105,9 +105,10 @@ static void __init g4evm_map_io(void)
105{ 105{
106 iotable_init(g4evm_io_desc, ARRAY_SIZE(g4evm_io_desc)); 106 iotable_init(g4evm_io_desc, ARRAY_SIZE(g4evm_io_desc));
107 107
108 /* setup early devices and clocks here as well */ 108 /* setup early devices, clocks and console here as well */
109 sh7377_add_early_devices(); 109 sh7377_add_early_devices();
110 sh7367_clock_init(); /* use g3 clocks for now */ 110 sh7367_clock_init(); /* use g3 clocks for now */
111 shmobile_setup_console();
111} 112}
112 113
113static void __init g4evm_init(void) 114static void __init g4evm_init(void)