]> git.sur5r.net Git - u-boot/commitdiff
arm:at91-boards: remove console_init_f where unnecessary
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 16 Aug 2012 06:01:51 +0000 (06:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 15:06:14 +0000 (17:06 +0200)
A lot of at91 boards have the console_init_f in board_init. This is useless
cause it was called before by generic code in lib/board.c.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
cc: Jens Scharsig <esw@bus-elektronik.de>
cc: Stelian Pop <stelian@popies.net>
cc: Sedji Gaouaou<sedji.gaouaou@atmel.com>
cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
cc: Eric Benard <eric@eukrea.com>
Tested-by: voice.shen@atmel.com
Tested-by: voice.shen@atmel.com
Acked-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Tested-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
board/BuS/eb_cpux9k2/cpux9k2.c
board/BuS/vl_ma2sc/vl_ma2sc.c
board/atmel/at91sam9261ek/at91sam9261ek.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
board/atmel/at91sam9rlek/at91sam9rlek.c
board/calao/sbc35_a9g20/sbc35_a9g20.c
board/calao/tny_a9260/tny_a9260.c
board/eukrea/cpuat91/cpuat91.c

index 54f9b64389fea9382b831f066a592e59f393d93e..776226fcb3bc10479bb1002f3bbfa9f1773e2942 100644 (file)
@@ -59,8 +59,6 @@ DECLARE_GLOBAL_DATA_PTR;
 int board_init(void)
 {
        at91_pio_t *pio = (at91_pio_t *) ATMEL_BASE_PIO;
-       /* Enable Ctrlc */
-       console_init_f();
 
        /* Correct IRDA resistor problem / Set PA23_TXD in Output */
        writel(ATMEL_PMX_AA_TXD2, &pio->pioa.oer);
index 62ed6fb432b1e75766de8ff3dc7fe58fd26152fb..84b2060aedbb914ba19e270ce8c8a442f1b4912c 100644 (file)
@@ -244,9 +244,6 @@ int board_init(void)
        writel(pin, &pio->piod.odr);
        writel(pin, &pio->piod.owdr);
 
-       /* Enable Ctrlc */
-       console_init_f();
-
        gd->bd->bi_arch_number = MACH_TYPE_VL_MA2SC;
        /* adress of boot parameters */
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
index 47ab83967dc5122efb01cba059bb76a2c37bb1d0..d30a1eeef6937463d04544cb7feb82cbd00c1730 100644 (file)
@@ -242,9 +242,6 @@ void lcd_show_board_info(void)
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
-
 #ifdef CONFIG_AT91SAM9G10EK
        /* arch number of AT91SAM9G10EK-Board */
        gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G10EK;
index 5a042749fe068f5c52f750e4c69e1436451eec87..d02312cd57468288f764b2fff86609caabd7bd29 100644 (file)
@@ -258,9 +258,6 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
-
        /* arch number of AT91SAM9M10G45EK-Board */
 #ifdef CONFIG_AT91SAM9M10G45EK
        gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9M10G45EK;
index ef0ddd780ba510f51589e35a0e07aeb094c4e444..e92ec6e6b7af52cb50df9decd98a10321deafd7b 100644 (file)
@@ -192,9 +192,6 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
-
        /* arch number of AT91SAM9RLEK-Board */
        gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9RLEK;
        /* adress of boot parameters */
index b6c8791f0486fb7d6fe101c9e399ab2e77cea840..d3b368451b2704583a7db56345c4a1b876bf3630 100644 (file)
@@ -149,9 +149,6 @@ static void sbc35_a9g20_macb_hw_init(void)
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
-
        /* adress of boot parameters */
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
 
index 31074d0e21a7bd648ec7d51c3ae7a4737f90685d..86e7e65caf88648722641f16e4c49e0e077f3509 100644 (file)
@@ -83,9 +83,6 @@ static void tny_a9260_nand_hw_init(void)
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
-
        /* adress of boot parameters */
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
 
index f654f87b725f12d93e6a60cbadcd286a7abf658a..c74c3fc567068bfdf08035d10e075aa89e9f0640 100644 (file)
@@ -43,8 +43,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
-       /* Enable Ctrlc */
-       console_init_f();
        /* arch number of CPUAT91-Board */
        gd->bd->bi_arch_number = MACH_TYPE_CPUAT91;
        /* adress of boot parameters */