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,
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();