Skip to content

Commit

Permalink
x86: Move console initialisation into board_init_f
Browse files Browse the repository at this point in the history
  • Loading branch information
calris committed Feb 12, 2011
1 parent bf6af15 commit 0b23785
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions arch/i386/lib/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ init_fnc_t *init_sequence[] = {
dram_init, /* configure available RAM banks */
interrupt_init, /* set up exceptions */
timer_init,
env_init, /* initialize environment */
init_baudrate, /* initialze baudrate settings */
serial_init, /* serial communications setup */
display_banner,
display_dram_config,

Expand Down Expand Up @@ -197,6 +194,18 @@ void board_init_f(ulong boot_flags)

gd->flags = boot_flags;

if (env_init() != 0)
hang();

if (init_baudrate() != 0)
hang();

if (serial_init() != 0)
hang();

if (console_init_f() != 0)
hang();

if (dram_init_f() != 0)
hang();

Expand Down

0 comments on commit 0b23785

Please sign in to comment.