]> git.sur5r.net Git - u-boot/commitdiff
NAND: Fix warning Please define CONFIG_SYS_64BIT_VSPRINTF...
authorWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 13:32:10 +0000 (15:32 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 13:32:10 +0000 (15:32 +0200)
Commit 8d2effea added a warning for configurations that use NAND
without defining the (then necessary) CONFIG_SYS_64BIT_VSPRINTF but
failed to fix the affected boards.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 files changed:
include/configs/ASH405.h
include/configs/CMS700.h
include/configs/HH405.h
include/configs/HUB405.h
include/configs/IDS8247.h
include/configs/PLU405.h
include/configs/PPChameleonEVB.h
include/configs/TQM8272.h
include/configs/TQM85xx.h
include/configs/VOH405.h
include/configs/WUH405.h
include/configs/acadia.h
include/configs/kilauea.h
include/configs/quad100hd.h
include/configs/sc3.h
include/configs/socrates.h

index 2ee4f809d09cd671a30755b12f9ccb2cd50923a8..694a87b9706d8b31d8a0aae66e06f9f3315a01d3 100644 (file)
 #define CONFIG_SYS_NAND_CLE            (0x80000000 >> 2)   /* our CLE is GPIO2 */
 #define CONFIG_SYS_NAND_ALE            (0x80000000 >> 3)   /* our ALE is GPIO3 */
 
-#define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
-#define CONFIG_SYS_NAND_QUIET          1
+#define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
+#define CONFIG_SYS_NAND_QUIET          1
+
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 /*-----------------------------------------------------------------------
  * PCI stuff
index ae8494d577c6cf2a0cf3763ecbe54e0e0d65a101..2384925a2798d2fe3311917d10437618cefb962e 100644 (file)
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is
index 92335239df2fe2e9c6e42c8d734411b3b6cb11e8..1a2266ff7b194ac8c0af4dfaf5162b8eb61ef2e0 100644 (file)
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * PCI stuff
  *-----------------------------------------------------------------------
index ea502d42cd0c135f9747a3da6be2480e811f6add..518d94d61a8444da2d5eff36eee5f4b8d93201d8 100644 (file)
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * PCI stuff
  *-----------------------------------------------------------------------
index 51e012cc467d070a5b764787e4585eb7ec7e8f5e..4c4af054b2a79ecd87add46120b3195727288e68 100644 (file)
 #define CONFIG_SYS_NAND0_BASE 0xE1000000
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices           */
 
+#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
+
 #endif /* CONFIG_CMD_NAND */
 
 /*-----------------------------------------------------------------------
index 7f2337bac85d2668007ed61d1e0abc024be50cba..2e41526afe4ca2d0643a3ff1009335227c88f616 100644 (file)
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*
  * PCI stuff
  */
index 16baf8c9be79184c9b4271c939f393ce31c7260f..6331464ec5624728360f56f42cfa9c6f96b8a8e1 100644 (file)
  * NAND-FLASH stuff
  *-----------------------------------------------------------------------
  */
+
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*
  * nand device 1 on dave (PPChameleonEVB) needs more time,
  * so we just introduce additional wait in nand_wait(),
index 9cac696b981848b4729a102a94d2b6e39c65bf79..6c462af53ccafc2b979d82c8bab674c233dc7271 100644 (file)
        WRITE_NAND(d, addr); \
 } while(0)
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 #endif /* CONFIG_CMD_NAND */
 
 #define        CONFIG_PCI
index 6f13c63f5c92707243da02b1384280acab41c276..cc3649e50c75eea7fcdf99a792402b2872c4fbf9 100644 (file)
 
 #define NAND_BIG_DELAY_US              25      /* max tR for Samsung devices   */
 
+#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
+
 #endif /* CONFIG_NAND */
 
 /*
index 38a1d0deca531e66e3230ad2d76ef9cf72ec27ea..17397e8aabe3f5c022913a1f1410695c43f12121 100644 (file)
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * PCI stuff
  *-----------------------------------------------------------------------
index 5c281a1a6632a8ae3f00e0518fbc96c4477aab9a..dbfa1aae9f72c139e31aadfd2b31923e14c35d9d 100644 (file)
 
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I      1  /* ".i" read skips bad blocks   */
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * PCI stuff
  *-----------------------------------------------------------------------
index 9ffd86b1ac64a11eb841f1f54d381fbba5596e1d..b71010769f010d3fc49a0eb7fa93d0a3b27d6bc4 100644 (file)
 #define CONFIG_SYS_NAND_BASE           (CONFIG_SYS_NAND_ADDR + CONFIG_SYS_NAND_CS)
 #define CONFIG_SYS_NAND_SELECT_DEVICE  1       /* nand driver supports mutipl. chips   */
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * External Bus Controller (EBC) Setup
  *----------------------------------------------------------------------*/
index 97bac99597b3a081f0e3cfb54816d17adc69c8a4..df1b0612ce610ffc2be732cb0ca949db2d885d3d 100644 (file)
 #define CONFIG_SYS_NAND_BASE           (CONFIG_SYS_NAND_ADDR + CONFIG_SYS_NAND_CS)
 #define CONFIG_SYS_NAND_SELECT_DEVICE  1       /* nand driver supports mutipl. chips   */
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /*-----------------------------------------------------------------------
  * DDR SDRAM
  *----------------------------------------------------------------------*/
index 3ea854becfd72ac960c502e94f849233135b5c6f..d63c43e932abd010d3670d0dede6b8de611281aa 100644 (file)
 #define CONFIG_SYS_NAND_CLE    31   /* our CLE is GPIO31 */
 #define CONFIG_SYS_NAND_ALE    30   /* our ALE is GPIO30 */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
+
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 /*-----------------------------------------------------------------------
index 97e1da22bb5ba0e80444c827db855e1dc5a06895..7e00ab8c7100ac24707f3959a0df4f84350b834e 100644 (file)
@@ -426,6 +426,7 @@ extern unsigned long offsetOfEnvironment;
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_SYS_NAND_BASE           0x77D00000
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_JFFS2_NAND 1                    /* jffs2 on nand support */
 
index 5b91b4d7c7f5bea278ef7998b2bcd3bc3f231ef3..35feed0fe14f0e10569fda2c81491a01f67a26df 100644 (file)
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_CMD_NAND
 
+#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
+
 /* LIME GDC */
 #define CONFIG_SYS_LIME_BASE           0xc8000000
 #define CONFIG_SYS_LIME_SIZE           0x04000000      /* 64 MB        */