Skip to content

Commit

Permalink
arm:at91-boards: remove console_init_f where unnecessary
Browse files Browse the repository at this point in the history
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 <[email protected]>
cc: Jens Scharsig <[email protected]>
cc: Stelian Pop <[email protected]>
cc: Sedji Gaouaou<[email protected]>
cc: Albin Tonnerre <[email protected]>
cc: Eric Benard <[email protected]>
Tested-by: [email protected]
Tested-by: [email protected]
Acked-by: Jens Scharsig (BuS Elektronik) <[email protected]>
Tested-by: Jens Scharsig (BuS Elektronik) <[email protected]>
  • Loading branch information
Andreas Bießmann authored and albert-aribaud-u-boot committed Sep 1, 2012
1 parent 82c4c64 commit bfc325e
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions board/BuS/eb_cpux9k2/cpux9k2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 0 additions & 3 deletions board/BuS/vl_ma2sc/vl_ma2sc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions board/atmel/at91sam9261ek/at91sam9261ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions board/atmel/at91sam9rlek/at91sam9rlek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions board/calao/sbc35_a9g20/sbc35_a9g20.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 0 additions & 3 deletions board/calao/tny_a9260/tny_a9260.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions board/eukrea/cpuat91/cpuat91.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bfc325e

Please sign in to comment.