]> git.sur5r.net Git - u-boot/blobdiff - include/configs/TQM885D.h
Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.
[u-boot] / include / configs / TQM885D.h
index 5daaf04be84c60c77dd850a4a74784076b378e65..66f4a982ddb34ca58d39c84fbcdc8c7999f599b0 100644 (file)
 #define CFG_MAX_FLASH_BANKS    1       /* max number of memory banks */
 #define CFG_MAX_FLASH_SECT     256     /* max number of sectors on one chip */
 
-#define CFG_ENV_IS_IN_FLASH    1
-#define CFG_ENV_OFFSET         0x40000 /*   Offset   of Environment Sector     */
-#define CFG_ENV_SIZE           0x08000 /* Total Size of Environment            */
-#define CFG_ENV_SECT_SIZE      0x40000 /* Total Size of Environment Sector     */
+#define CONFIG_ENV_IS_IN_FLASH 1
+#define CONFIG_ENV_OFFSET              0x40000 /*   Offset   of Environment Sector     */
+#define CONFIG_ENV_SIZE                0x08000 /* Total Size of Environment            */
+#define CONFIG_ENV_SECT_SIZE   0x40000 /* Total Size of Environment Sector     */
 
 /* Address and size of Redundant Environment Sector    */
-#define CFG_ENV_OFFSET_REDUND  (CFG_ENV_OFFSET+CFG_ENV_SECT_SIZE)
-#define CFG_ENV_SIZE_REDUND    (CFG_ENV_SIZE)
+#define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET+CONFIG_ENV_SECT_SIZE)
+#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
 
 /*-----------------------------------------------------------------------
  * Hardware Information Block