]> git.sur5r.net Git - u-boot/blobdiff - include/configs/lpd7a400.h
Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.
[u-boot] / include / configs / lpd7a400.h
index 04148898eaca979f87197467d55cb9ef72df5fa6..9e6ea1a286eaad6899c0875e940803b3125359f8 100644 (file)
@@ -37,7 +37,7 @@
 /*
  * Size of malloc() pool
  */
-#define CFG_MALLOC_LEN         (CFG_ENV_SIZE + 128*1024)
+#define CFG_MALLOC_LEN         (CONFIG_ENV_SIZE + 128*1024)
 #define CFG_GBL_DATA_SIZE      128     /* size in bytes reserved for initial data */
 
 /*
 #define CFG_MONITOR_BASE       CFG_FLASH_BASE
 #define CFG_MONITOR_LEN                (256<<10)
 
-#define        CFG_ENV_IS_IN_FLASH     1
+#define        CONFIG_ENV_IS_IN_FLASH  1
 
 /* Address and size of Primary Environment Sector      */
-#define CFG_ENV_ADDR           (CFG_FLASH_BASE + 0xFC0000)
-#define CFG_ENV_SIZE           0x40000
+#define CONFIG_ENV_ADDR                (CFG_FLASH_BASE + 0xFC0000)
+#define CONFIG_ENV_SIZE                0x40000
 
 #endif  /* __LPD7A400_H_ */