rename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROM
[platform/kernel/u-boot.git] / lib_sparc / board.c
index af301c0..3c57fcb 100644 (file)
@@ -377,7 +377,7 @@ void board_init_f(ulong bootflag)
        malloc_bin_reloc();
 
 #ifdef CONFIG_SPI
-# if !defined(CFG_ENV_IS_IN_EEPROM)
+# if !defined(CONFIG_ENV_IS_IN_EEPROM)
        spi_init_f();
 # endif
        spi_init_r();
@@ -409,7 +409,7 @@ void board_init_f(ulong bootflag)
        }
 #endif
 
-#ifdef CFG_ID_EEPROM
+#ifdef CONFIG_ID_EEPROM
        mac_read_from_eeprom();
 #endif
 
@@ -451,7 +451,7 @@ void board_init_f(ulong bootflag)
        if ((s = getenv("bootfile")) != NULL) {
                copy_filename(BootFile, s, sizeof(BootFile));
        }
-#endif                         /* CFG_CMD_NET */
+#endif /* CONFIG_CMD_NET */
 
        WATCHDOG_RESET();
 
@@ -483,7 +483,7 @@ void board_init_f(ulong bootflag)
        WATCHDOG_RESET();
        puts("IDE:   ");
        ide_init();
-#endif                         /* CFG_CMD_IDE */
+#endif /* CONFIG_CMD_IDE */
 
 #ifdef CONFIG_LAST_STAGE_INIT
        WATCHDOG_RESET();