Fix compiler warnings
[oweals/u-boot.git] / lib_arm / board.c
index 9cffb4ec24c18ff82afdc9dcbef45b554a05ee28..ada8cc887900ea566d2a29d7699ed2512dc603d6 100644 (file)
@@ -198,7 +198,7 @@ init_fnc_t *init_sequence[] = {
        display_banner,         /* say that we are here */
        dram_init,              /* configure available RAM banks */
        display_dram_config,
-#if defined(CONFIG_VCMA9)
+#if defined(CONFIG_VCMA9) || defined (CONFIG_CMC_PU2)
        checkboard,
 #endif
        NULL,
@@ -250,6 +250,9 @@ void start_armboot (void)
 #endif /* CONFIG_VFD */
 
 #ifdef CONFIG_LCD
+#      ifndef PAGE_SIZE
+#        define PAGE_SIZE 4096
+#      endif
        /*
         * reserve memory for LCD display (always full pages)
         */
@@ -338,7 +341,10 @@ void start_armboot (void)
 #ifdef BOARD_LATE_INIT
        board_late_init ();
 #endif
-
+#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI)
+       puts ("Net:   ");
+       eth_initialize(gd->bd);
+#endif
        /* main_loop() can return to retry autoboot, if so just run it again. */
        for (;;) {
                main_loop ();