aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-05 13:54:46 -0500
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-23 08:58:00 -0500
commite8729dda3fb0f99c1353d32b7cc88384e3d9124b (patch)
tree983d329df991cdcbef4a268a39e80c82e5545754
parent69f6a27bf4c86e986964100e560d991a8de03833 (diff)
ARM: at91/board-dt: drop default console
This default console mechanism is not used if the console is selected by command line (console= parameter). Dropping this will simplify the compilation of multiple SoC in the same kernel image. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/mach-at91/at91sam9x5.c3
-rw-r--r--arch/arm/mach-at91/board-dt.c6
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
index 90bb7ec90c8f..d17d4262665b 100644
--- a/arch/arm/mach-at91/at91sam9x5.c
+++ b/arch/arm/mach-at91/at91sam9x5.c
@@ -318,9 +318,6 @@ void __init at91sam9x5_initialize(void)
318/* -------------------------------------------------------------------- 318/* --------------------------------------------------------------------
319 * AT91SAM9x5 devices (temporary before modification of code) 319 * AT91SAM9x5 devices (temporary before modification of code)
320 * -------------------------------------------------------------------- */ 320 * -------------------------------------------------------------------- */
321void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {}
322void __init at91_set_serial_console(unsigned portnr) {}
323
324void __init at91_add_device_nand(struct atmel_nand_data *data) {} 321void __init at91_add_device_nand(struct atmel_nand_data *data) {}
325 322
326/* -------------------------------------------------------------------- 323/* --------------------------------------------------------------------
diff --git a/arch/arm/mach-at91/board-dt.c b/arch/arm/mach-at91/board-dt.c
index 05793156d178..08c8ad8609b7 100644
--- a/arch/arm/mach-at91/board-dt.c
+++ b/arch/arm/mach-at91/board-dt.c
@@ -38,12 +38,6 @@ static void __init ek_init_early(void)
38{ 38{
39 /* Initialize processor: 12.000 MHz crystal */ 39 /* Initialize processor: 12.000 MHz crystal */
40 at91_initialize(12000000); 40 at91_initialize(12000000);
41
42 /* DGBU on ttyS0. (Rx & Tx only) */
43 at91_register_uart(0, 0, 0);
44
45 /* set serial console to ttyS0 (ie, DBGU) */
46 at91_set_serial_console(0);
47} 41}
48 42
49/* det_pin is not connected */ 43/* det_pin is not connected */