]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/PM828.h
rename CFG_ENV macros to CONFIG_ENV
[people/ms/u-boot.git] / include / configs / PM828.h
index a342824ef4c9d49e011f62586c26876590606406..f437d21c69b1128551d343f71e18485daf411c9f 100644 (file)
 #if 0
 /* Start port with environment in flash; switch to EEPROM later */
 #define CONFIG_ENV_IS_IN_FLASH 1
-#define CFG_ENV_ADDR           (CFG_FLASH_BASE+0x40000)
-#define CFG_ENV_SIZE           0x40000
-#define CFG_ENV_SECT_SIZE      0x40000
+#define CONFIG_ENV_ADDR                (CFG_FLASH_BASE+0x40000)
+#define CONFIG_ENV_SIZE                0x40000
+#define CONFIG_ENV_SECT_SIZE   0x40000
 #else
 /* Final version: environment in EEPROM */
 #define CONFIG_ENV_IS_IN_EEPROM        1
 #define CFG_I2C_EEPROM_ADDR_LEN 1
 #define CFG_EEPROM_PAGE_WRITE_BITS     4
 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10      /* and takes up to 10 msec */
-#define CFG_ENV_OFFSET         512
-#define CFG_ENV_SIZE           (2048 - 512)
+#define CONFIG_ENV_OFFSET              512
+#define CONFIG_ENV_SIZE                (2048 - 512)
 #endif
 
 /*-----------------------------------------------------------------------