[PATCH 008/011] sh: add early platform support for earlyprintk

From: Magnus Damm
Date: Fri Jan 23 2009 - 06:02:47 EST


From: Magnus Damm <damm@xxxxxxxxxx>

This patch adds early platform "earlyprintk" class support.

Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
---

arch/sh/kernel/setup.c | 3 +++
1 file changed, 3 insertions(+)

--- 0021/arch/sh/kernel/setup.c
+++ work/arch/sh/kernel/setup.c 2009-01-23 16:38:16.000000000 +0900
@@ -389,6 +389,9 @@ void __init setup_arch(char **cmdline_p)

plat_early_device_setup();

+ /* Let earlyprintk output early console messages */
+ early_platform_driver_probe("earlyprintk", 1, 1);
+
sh_mv_setup();

/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/