common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
authorHeiko Schocher <hs@denx.de>
Thu, 3 Dec 2009 10:21:21 +0000 (11:21 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 8 Dec 2009 21:14:07 +0000 (22:14 +0100)
There is more and more usage of printing 64bit values,
so enable this feature generally, and delete the
CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
defines.

Signed-off-by: Heiko Schocher <hs@denx.de>
97 files changed:
README
common/cmd_fdt.c
common/cmd_ide.c
common/cmd_onenand.c
common/image.c
cpu/mpc85xx/mp.c
disk/part.c
drivers/mtd/nand/nand_util.c
fs/ubifs/ubifs.c
include/common.h
include/configs/ASH405.h
include/configs/CMS700.h
include/configs/HH405.h
include/configs/HUB405.h
include/configs/IDS8247.h
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8360ERDK.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8536DS.h
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/P1_P2_RDB.h
include/configs/P2020DS.h
include/configs/PLU405.h
include/configs/PPChameleonEVB.h
include/configs/SIMPC8313.h
include/configs/TQM8272.h
include/configs/TQM85xx.h
include/configs/VOH405.h
include/configs/WUH405.h
include/configs/XPEDITE5170.h
include/configs/XPEDITE5200.h
include/configs/XPEDITE5370.h
include/configs/acadia.h
include/configs/afeb9260.h
include/configs/apollon.h
include/configs/aria.h
include/configs/at91cap9adk.h
include/configs/at91sam9260ek.h
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9m10g45ek.h
include/configs/at91sam9rlek.h
include/configs/bfin_adi_common.h
include/configs/cpu9260.h
include/configs/davinci_dm355evm.h
include/configs/davinci_dm355leopard.h
include/configs/davinci_dm365evm.h
include/configs/davinci_dm6467evm.h
include/configs/davinci_dvevm.h
include/configs/davinci_schmoogie.h
include/configs/davinci_sffsdr.h
include/configs/davinci_sonata.h
include/configs/delta.h
include/configs/devkit8000.h
include/configs/keymile-common.h
include/configs/kilauea.h
include/configs/mecp5123.h
include/configs/meesc.h
include/configs/mpc5121ads.h
include/configs/netstar.h
include/configs/nhk8815.h
include/configs/omap3_beagle.h
include/configs/omap3_evm.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_zoom1.h
include/configs/omap3_zoom2.h
include/configs/openrd_base.h
include/configs/pdnb3.h
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/quad100hd.h
include/configs/rd6281a.h
include/configs/sbc35_a9g20.h
include/configs/sbc8641d.h
include/configs/sc3.h
include/configs/sheevaplug.h
include/configs/smdk6400.h
include/configs/smdkc100.h
include/configs/socrates.h
include/configs/tny_a9260.h
include/configs/vct.h
include/configs/zylonite.h
include/ppc4xx.h
lib_generic/vsprintf.c

diff --git a/README b/README
index fe6ca98d82b3fd9209edf67442cbd117d7218639..22e35c39bc4deaa553aa3eb226caef51c7ab2da8 100644 (file)
--- a/README
+++ b/README
@@ -777,7 +777,7 @@ The following options need to be configured:
                CONFIG_LBA48
 
                Set this to enable support for disks larger than 137GB
-               Also look at CONFIG_SYS_64BIT_LBA ,CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
+               Also look at CONFIG_SYS_64BIT_LBA.
                Whithout these , LBA48 support uses 32bit variables and will 'only'
                support disks up to 2.1TB.
 
@@ -2524,13 +2524,6 @@ use the "saveenv" command to store a valid environment.
 - CONFIG_SYS_FAULT_MII_ADDR:
                MII address of the PHY to check for the Ethernet link state.
 
-- CONFIG_SYS_64BIT_VSPRINTF:
-               Makes vsprintf (and all *printf functions) support printing
-               of 64bit values by using the L quantifier
-
-- CONFIG_SYS_64BIT_STRTOUL:
-               Adds simple_strtoull that returns a 64bit value
-
 - CONFIG_NS16550_MIN_FUNCTIONS:
                Define this if you desire to only have use of the NS16550_init
                and NS16550_putc functions for the serial driver located at
index 919a0bf6e780c8d609e3145a01dd161626be4521..5df79ae3e141478e318dbc8bbb07a804001bc8cf 100644 (file)
@@ -364,13 +364,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        } else if (strncmp(argv[1], "me", 2) == 0) {
                uint64_t addr, size;
                int err;
-#ifdef CONFIG_SYS_64BIT_STRTOUL
-                       addr = simple_strtoull(argv[2], NULL, 16);
-                       size = simple_strtoull(argv[3], NULL, 16);
-#else
-                       addr = simple_strtoul(argv[2], NULL, 16);
-                       size = simple_strtoul(argv[3], NULL, 16);
-#endif
+               addr = simple_strtoull(argv[2], NULL, 16);
+               size = simple_strtoull(argv[3], NULL, 16);
                err = fdt_fixup_memory(working_fdt, addr, size);
                if (err < 0)
                        return err;
@@ -402,13 +397,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
                } else if (argv[2][0] == 'a') {
                        uint64_t addr, size;
                        int err;
-#ifdef CONFIG_SYS_64BIT_STRTOUL
                        addr = simple_strtoull(argv[3], NULL, 16);
                        size = simple_strtoull(argv[4], NULL, 16);
-#else
-                       addr = simple_strtoul(argv[3], NULL, 16);
-                       size = simple_strtoul(argv[4], NULL, 16);
-#endif
                        err = fdt_add_mem_rsv(working_fdt, addr, size);
 
                        if (err < 0) {
index ec9a1df38e778483237fb2241d1d05d15c323017..093ca9f9065150c8fc043a5dd45b66454ab8f07d 100644 (file)
@@ -1354,7 +1354,7 @@ ulong ide_read (int device, lbaint_t blknr, ulong blkcnt, void *buffer)
                }
 
                if ((c&(ATA_STAT_DRQ|ATA_STAT_BUSY|ATA_STAT_ERR)) != ATA_STAT_DRQ) {
-#if defined(CONFIG_SYS_64BIT_LBA) && defined(CONFIG_SYS_64BIT_VSPRINTF)
+#if defined(CONFIG_SYS_64BIT_LBA)
                        printf ("Error (no IRQ) dev %d blk %Ld: status 0x%02x\n",
                                device, blknr, c);
 #else
@@ -1444,7 +1444,7 @@ ulong ide_write (int device, lbaint_t blknr, ulong blkcnt, void *buffer)
                c = ide_wait (device, IDE_TIME_OUT);    /* can't take over 500 ms */
 
                if ((c&(ATA_STAT_DRQ|ATA_STAT_BUSY|ATA_STAT_ERR)) != ATA_STAT_DRQ) {
-#if defined(CONFIG_SYS_64BIT_LBA) && defined(CONFIG_SYS_64BIT_VSPRINTF)
+#if defined(CONFIG_SYS_64BIT_LBA)
                        printf ("Error (no IRQ) dev %d blk %Ld: status 0x%02x\n",
                                device, blknr, c);
 #else
index 9090940aed7fefb154ba2a15e63037151db12ebb..565257cf493df25ddbce6f54fe12ce05a6cdd571 100644 (file)
 
 #include <asm/io.h>
 
-#if !defined(CONFIG_SYS_64BIT_VSPRINTF)
-#warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!
-#endif
-
 static struct mtd_info *mtd;
 
 static loff_t next_ofs;
index 5cc3ab49d888961b93c4f6b32adf6efefcc7be55..82e7aa4361f3689cdfe69f55d6a3fba01a709a56 100644 (file)
@@ -436,11 +436,7 @@ phys_size_t getenv_bootm_size(void)
        char *s = getenv ("bootm_size");
        if (s) {
                phys_size_t tmp;
-#ifdef CONFIG_SYS_64BIT_STRTOUL
                tmp = (phys_size_t)simple_strtoull (s, NULL, 16);
-#else
-               tmp = (phys_size_t)simple_strtoul (s, NULL, 16);
-#endif
                return tmp;
        }
 
index 00b64506920769aff716d2cf1b4cf0cb6310a8c0..7626eb8e728459d14a19f02415303455be08aa75 100644 (file)
@@ -90,11 +90,7 @@ int cpu_release(int nr, int argc, char *argv[])
                return 1;
        }
 
-#ifdef CONFIG_SYS_64BIT_STRTOUL
        boot_addr = simple_strtoull(argv[0], NULL, 16);
-#else
-       boot_addr = simple_strtoul(argv[0], NULL, 16);
-#endif
 
        /* handle pir, r3, r6 */
        for (i = 1; i < 4; i++) {
index 9ced4527f39a7fdcf2233aac648c66fd2d2f377d..b6bae1794085db7d66fd4181c1dda2aec89f5e84 100644 (file)
@@ -196,7 +196,7 @@ void dev_print (block_dev_desc_t *dev_desc)
                if (dev_desc->lba48)
                        printf ("            Supports 48-bit addressing\n");
 #endif
-#if defined(CONFIG_SYS_64BIT_LBA) && defined(CONFIG_SYS_64BIT_VSPRINTF)
+#if defined(CONFIG_SYS_64BIT_LBA)
                printf ("            Capacity: %ld.%ld MB = %ld.%ld GB (%Ld x %ld)\n",
                        mb_quot, mb_rem,
                        gb_quot, gb_rem,
index 7085d42cc1b92ebc7e4a543863c85867bd7cf245..df7f1400f3aa3f49c663f89497c5fadb56581cfe 100644 (file)
 #include <nand.h>
 #include <jffs2/jffs2.h>
 
-#if !defined(CONFIG_SYS_64BIT_VSPRINTF)
-#warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!
-#endif
-
 typedef struct erase_info erase_info_t;
 typedef struct mtd_info          mtd_info_t;
 
index 82f1c547dad91eba031891779e23d74ee468580a..3fc79909eaadfea2ebd6b140e8e8a9e3299b35d7 100644 (file)
 #include "ubifs.h"
 #include <u-boot/zlib.h>
 
-#if !defined(CONFIG_SYS_64BIT_VSPRINTF)
-#warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!
-#endif
-
 DECLARE_GLOBAL_DATA_PTR;
 
 /* compress.c */
index 749d35cabe6e2731ba57d8d5bd0e8ce8cd8643b9..00b543408e38f93181d854e7ec52f5246f50bd4f 100644 (file)
@@ -617,9 +617,7 @@ void        udelay        (unsigned long);
 
 /* lib_generic/vsprintf.c */
 ulong  simple_strtoul(const char *cp,char **endp,unsigned int base);
-#ifdef CONFIG_SYS_64BIT_VSPRINTF
 unsigned long long     simple_strtoull(const char *cp,char **endp,unsigned int base);
-#endif
 long   simple_strtol(const char *cp,char **endp,unsigned int base);
 void   panic(const char *fmt, ...)
                __attribute__ ((format (__printf__, 1, 2)));
index 694a87b9706d8b31d8a0aae66e06f9f3315a01d3..5cb0f1e28cdf9bf42483db3bf4abf7f2317c66f6 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 2384925a2798d2fe3311917d10437618cefb962e..ae8494d577c6cf2a0cf3763ecbe54e0e0d65a101 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 1a2266ff7b194ac8c0af4dfaf5162b8eb61ef2e0..92335239df2fe2e9c6e42c8d734411b3b6cb11e8 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 518d94d61a8444da2d5eff36eee5f4b8d93201d8..ea502d42cd0c135f9747a3da6be2480e811f6add 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 147a8b267dace91ed70f44230c71f2b3054b0f60..71bb7b48c8d9b9988865e9240dd9b8f26382b0f6 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 5927e763974c613f880fa3c2d4662853d1321753..0a4ba29150c45017ba6d099dc1f04652e19de7fd 100644 (file)
 #define CONFIG_CMD_NAND 1
 #define CONFIG_NAND_FSL_ELBC 1
 #define CONFIG_SYS_NAND_BLOCK_SIZE 16384
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_NAND_U_BOOT_SIZE  (512 << 10)
 #define CONFIG_SYS_NAND_U_BOOT_DST   0x00100000
index 8eaff5d06f4dad051b09498c1fc156fd5f1a1348..79376b3c570cbe4769ff8c6d3c67c7b69b848706 100644 (file)
 #define CONFIG_MTD_NAND_VERIFY_WRITE   1
 #define CONFIG_CMD_NAND                        1
 #define CONFIG_NAND_FSL_ELBC           1
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_BR1_PRELIM  ( CONFIG_SYS_NAND_BASE \
                                | (2<<BR_DECC_SHIFT)    /* Use HW ECC */ \
index 6cee78aa260be77297f0944552ec7814ddf9e800..1d1f94f3f9a5020a8c424fe087180f24d9ded488 100644 (file)
 #define CONFIG_NAND_FSL_UPM    1
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_MTD_NAND_VERIFY_WRITE
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_LBLAWBAR1_PRELIM    CONFIG_SYS_NAND_BASE
 #define CONFIG_SYS_LBLAWAR1_PRELIM     0x8000001b /* Access window size 4K */
index abeb6a2c60ae8b8281af7dd23cd54fb0a5f8eba7..63f1d855e0267749ca5295040d8e6a8c961ce183 100644 (file)
 #define CONFIG_OF_BOARD_SETUP  1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_STRTOUL               1
-#define CONFIG_SYS_64BIT_VSPRINTF              1
-
 /* I2C */
 #define CONFIG_HARD_I2C                /* I2C with hardware support */
 #undef CONFIG_SOFT_I2C         /* I2C bit-banged */
index 7ef92f7be1f47da7b004c2b199f3ee9b7e7ce088..913184c8284117a47ed82e9e628acfda81583de8 100644 (file)
 #define CONFIG_OF_BOARD_SETUP  1
 #define CONFIG_OF_STDOUT_VIA_ALIAS 1
 
-#define CONFIG_SYS_64BIT_STRTOUL               1
-#define CONFIG_SYS_64BIT_VSPRINTF              1
-
 /* I2C */
 #define CONFIG_HARD_I2C                /* I2C with hardware support */
 #undef CONFIG_SOFT_I2C         /* I2C bit-banged */
index 46d6e9d39c9ef10d8c5eb07fe4cb1daab9d6e495..87901b3af9e4c72775210d70aca8e5340ae9255c 100644 (file)
@@ -433,10 +433,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_STRTOUL       1
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-
-
 /*
  * I2C
  */
index 4af599b1b090abab37caa5b28807cc62feafe022..78bb74bdc1d3ad4caf5be9b2da44a8ecf1f0a57e 100644 (file)
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index f41fe300dd2bd4f3cc25d01293d3fb5b4c503410..e945da2e6d2b74d9b27741bfbf3455d4f64f6f3e 100644 (file)
@@ -286,9 +286,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index b7d355315d9b244255cc5a2efb8ef6bc1486c46a..799d9461f8f3215ccf70181beec8c421134172d2 100644 (file)
@@ -242,9 +242,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_STRTOUL               1
-#define CONFIG_SYS_64BIT_VSPRINTF              1
-
 /* I2C */
 #define CONFIG_FSL_I2C         /* Use FSL common I2C driver */
 #define CONFIG_HARD_I2C                /* I2C with hardware support */
index 53de56dbc32e3c11b58a9cdb03be0e75d1291985..3eb0049a04f22c9eae1996a0bf96b8a68eceec84 100644 (file)
@@ -309,9 +309,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index abbfd4707c0cc3e0e576f79ee1256ef8e780fb13..07a8e6126ac11ba2b29709f09512704e318b2faf 100644 (file)
@@ -284,9 +284,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index df59acae314bf553f54b7d7f06e6ddb0451e0d90..4a4a9eda8544911d2ebe83eccdc33b29b9d53800 100644 (file)
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index 426b93378f45ad4c9d0d33476230d62ee18d1e02..128a7e13f804f2a7945f04310abe4345278a509d 100644 (file)
@@ -270,9 +270,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index b87f375281bdd9b4a6efe3612c446d34e49f1857..1e659e27a76a0c714ca66d48b6b3cf53b67737ca 100644 (file)
@@ -247,9 +247,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index 0e7745c46eda9836384b5238cf66fbb247901787..41e4a6e8a5d8fa077796a0502d2691955155056a 100644 (file)
@@ -367,9 +367,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /* new uImage format support */
 #define CONFIG_FIT             1
 #define CONFIG_FIT_VERBOSE     1 /* enable fit_format_{error,warning}() */
index 7cb4ccdc190db29f2c60c4e82ccf7cec883b1c6e..1d2d659239f24851bbb92272e750907e8f8f3aa7 100644 (file)
 /* maximum size of the flat tree (8K) */
 #define OF_FLAT_TREE_MAX_SIZE  8192
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index a46f7c8bddcab90210f1fda71a95f260fe935f59..12a8f603900f85a4407518075ffa410aba06e4c8 100644 (file)
@@ -301,10 +301,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index e2930c19b3087679d560f375950a8d2951192418..ddfe7aabdcf9977585bf178548b40f817498fbe1 100644 (file)
@@ -310,9 +310,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /* new uImage format support */
 #define CONFIG_FIT             1
 #define CONFIG_FIT_VERBOSE     1 /* enable fit_format_{error,warning}() */
index 9574fcaa1fd28c32ba5ad37921ef8bf10f780848..df9ab34e80fbeee799eefa6e72d793f31aea6fd7 100644 (file)
@@ -401,9 +401,6 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /* new uImage format support */
 #define CONFIG_FIT             1
 #define CONFIG_FIT_VERBOSE     1 /* enable fit_format_{error,warning}() */
index 5f5f1c76af39d37946ffc380f0abc5b74cf70959..3d59454eb96709dccfd6d5e61a8ba9c075e8c261 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 6fba0caad2d5868e9a9c78af6a6835ea6cf038e8..8e9d92872a88f03ae5f545e275ec6c0807450594 100644 (file)
  *-----------------------------------------------------------------------
  */
 
-#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 f68d834170aa06389d2bfb9844454797f51a17a6..36e952e741341671cf2e7520b0650b86ce10d4fc 100644 (file)
 #define CONFIG_MTD_NAND_VERIFY_WRITE
 #define CONFIG_CMD_NAND                1
 #define CONFIG_NAND_FSL_ELBC           1
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_NAND_U_BOOT_SIZE    (512 << 10)
 #define CONFIG_SYS_NAND_U_BOOT_DST     0x00100000
index 6eaa61d563ca5af43dc6dfe46f81d24776721d60..12a7edacf6f030c1cb91f6e587762926ef404c5e 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 1fbf4bf49244b3e2591af55836b36d86feba3b22..d44fb07cc06944a77aec462f8354a2329b4ed8f0 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 17397e8aabe3f5c022913a1f1410695c43f12121..38a1d0deca531e66e3230ad2d76ef9cf72ec27ea 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 dbfa1aae9f72c139e31aadfd2b31923e14c35d9d..5c281a1a6632a8ae3f00e0518fbc96c4477aab9a 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 1a810e442f65d277ea9087b47e34fd26368a6be8..c63fd429f14c6dadfeebffe25f36b0387d55841f 100644 (file)
@@ -239,9 +239,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index 3f737803e5e13e9d25282057bdbd86f91376308a..1a56c6076b76631885e235c4fd9af520e7277d42 100644 (file)
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index 7782df367803a3d11114a6105ae50eaae45208db..7fd3668b2087df653cc102591f2010165c43bfb0 100644 (file)
@@ -244,9 +244,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index 2fb48b641bcc227fe631dae35282cfb3c59d5431..bd3388f6267b4814632d5547892572158d52d779 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 74677d87545b733bc03489a7c43374eac8b57690..58b8c8c39581ceaaa607775bc736f6f232488749 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PC13
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* NOR flash - no real flash on this board */
index ddac5fbab12222fec957efcf35168a48b6121555..adab45422381b0bbfdfdbc58552869920bd79144 100644 (file)
 #define CONFIG_ENV_ADDR                0x00020000
 #define CONFIG_ENV_ADDR_FLEX   0x00040000
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #ifdef CONFIG_SYS_USE_UBI
 #define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT         "onenand0=onenand"
index 2938eac396dbc2be14f8786448004dec9ba8221f..f89fc570aa5407f527058a3a6d78e7ef7a9766fb 100644 (file)
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define NAND_MAX_CHIPS                 CONFIG_SYS_MAX_NAND_DEVICE
 
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
-
 /*
  * Configuration parameters for MPC5121 NAND driver
  */
index cc194d8b6be9cfeadb27f612e6b5e16b0bff08bb..322718f4417bb9f46f0850fcf85e22364b9b2fb9 100644 (file)
 #define CONFIG_SYS_NAND_BASE                   0x40000000
 #define CONFIG_SYS_NAND_DBW_8                  1
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* Ethernet */
index 3507de2936b1bdb346695b75bab24717ccc2be02..05090112525189dd437ea253a12b6d4ad0a41cef 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PC13
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* NOR flash - no real flash on this board */
index f86698f445fa31bb503391e88323c4d5f5761226..fbf7389b900935703e25d7cba29bb06c29604c8f 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PC15
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* NOR flash - no real flash on this board */
index a1582fcb86192fd9a7b167e0f430f6ff1f39e6ad..571351ca7d5973d0893b2c65feac072900f6d21f 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PD15
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PA22
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* Ethernet */
index b460188774e46cb22c052ddc75d9b4c6023263dd..06184e78eca928e9f972fc512dbf5f1dc655a2a9 100644 (file)
 /* NOR flash, if populated */
 #ifndef CONFIG_CMD_NAND
 #define CONFIG_SYS_NO_FLASH            1
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #else
 #define CONFIG_SYS_FLASH_CFI           1
 #define CONFIG_FLASH_CFI_DRIVER                1
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PC8
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* Ethernet */
index b83266d30c8ec729961e931981a750d84eeda2cd..6fad75d6be006c1de80f4b6deecb4a3d34e4992c 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PB6
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PD17
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* Ethernet - not present */
index 0b87418db69d33532fdee3c1d4d7219d8dc0cd35..0fbd8f4980be5cae2f2bcb13cf3187fab3d68609 100644 (file)
@@ -87,9 +87,6 @@
 #  define CONFIG_CMD_SPIBOOTLDR
 # endif
 #endif
-#ifdef CONFIG_CMD_NAND
-# define CONFIG_SYS_64BIT_VSPRINTF
-#endif
 
 /*
  * Console Settings
index de8cfb7c603535912305a591a9c380f96cfb4736..4ef8566ea215a081795ba48c4fd8976102dc92dc 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_MASK_ALE               (1 << 21)
 #define CONFIG_SYS_NAND_MASK_CLE               (1 << 22)
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 
 /* NOR flash */
 #define CONFIG_SYS_FLASH_CFI                   1
index ea40df0bed0dce35044d96b18af43e47747eb5fd..d092fb8325a5f86f4d961d1d615e5ab833bb40da 100644 (file)
@@ -69,7 +69,6 @@
 #define CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
 #define CONFIG_SYS_NAND_PAGE_2K
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_NAND_LARGEPAGE
 #define CONFIG_SYS_NAND_BASE_LIST      { 0x02000000, }
index 5db720e9d6906c7e9d58ed00dbcd46d6c9dd82a1..ca3dea48f7a5be8ea733021776ea07ec324257fc 100644 (file)
 #define CONFIG_ENV_SIZE                (256 << 10)     /* 256 KiB */
 #define CONFIG_ENV_IS_IN_NAND
 #define CONFIG_ENV_OFFSET      0x3C0000
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #undef CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_OVERWRITE
 #endif
index 53a105bf6db9ebf3cf687b572cb9b19415844b89..49160776676e9e959ec7758eab410926e7aa1e70 100644 (file)
@@ -77,7 +77,6 @@
 #define CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
 #define CONFIG_SYS_NAND_PAGE_2K
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 
 #define CONFIG_SYS_NAND_LARGEPAGE
 #define CONFIG_SYS_NAND_BASE_LIST      { 0x02000000, }
index 6617941d8ce6c55a9478b13e33eef357df5ee629..ce2d7c4dd638d12e6316651d3ae0651514e031cb 100644 (file)
@@ -77,7 +77,6 @@
 #define CONFIG_NAND_DAVINCI
 #undef CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_IS_IN_NAND
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #define CONFIG_ENV_SIZE                        (16 << 10)      /* 16 KiB */
 #define CONFIG_SYS_NAND_BASE_LIST      {0x42000000, }
 #define CONFIG_SYS_NAND_HW_ECC
index b045e80ae6ca0f64e559fd5dbc12f5871ce1957c..f7d23990c41707a3a14832300213f777d02430d9 100644 (file)
 #define CONFIG_SYS_NAND_HW_ECC
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices */
 #define CONFIG_ENV_OFFSET              0x0     /* Block 0--not used by bootcode */
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #define DEF_BOOTM              ""
 #elif defined(CONFIG_SYS_USE_NOR)
 #ifdef CONFIG_NOR_UART_BOOT
index 9384cddd4dd616c16767369b264c7c8e58983343..47db2aa9cf4208a6e89327b0f4c300d1b68e9010 100644 (file)
@@ -92,7 +92,6 @@
 #define CONFIG_SYS_NAND_HW_ECC
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices */
 #define CONFIG_ENV_OFFSET              0x0     /* Block 0--not used by bootcode */
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 /*=====================*/
 /* Board related stuff */
 /*=====================*/
index 71d48fb912077da85ad2855b59b4d259e662e099..f24eb7a8b3d97d897b0f9e9100641864e109c0ba 100644 (file)
@@ -87,7 +87,6 @@
 #define CONFIG_SYS_NAND_HW_ECC
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices */
 #define CONFIG_ENV_OFFSET              0x0     /* Block 0--not used by bootcode */
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 /* I2C switch definitions for PCA9543 chip */
 #define CONFIG_SYS_I2C_PCA9543_ADDR            0x70
 #define CONFIG_SYS_I2C_PCA9543_ADDR_LEN        0       /* Single register. */
index 9138b2b90a075bfda62d32a611b834d0feb1d547..5a55c569ddd151341b8ab27a63151abb37e68cac 100644 (file)
 #define CONFIG_SYS_NAND_HW_ECC
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices */
 #define CONFIG_ENV_OFFSET              0x0     /* Block 0--not used by bootcode */
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #define DEF_BOOTM              ""
 #elif defined(CONFIG_SYS_USE_NOR)
 #ifdef CONFIG_NOR_UART_BOOT
index 95e04f9e4a44dd8266201cd7820ce5a10be318cb..9c46c5bdbc3e916d1cd9ddaeed34bd4d948466ee 100644 (file)
 #define CONFIG_SYS_NAND_BASE_LIST      { CONFIG_SYS_NAND0_BASE }
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND devices */
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 /* nand timeout values */
 #define CONFIG_SYS_NAND_PROG_ERASE_TO  3000
 #define CONFIG_SYS_NAND_OTHER_TO       100
index 1011770962cf7391385ee373dab3ab7a4429a4af..e81da677f4726061d6c2d7e8e3f1bb3244888cb0 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1               /* Max number of NAND */
                                                        /* devices */
-#define CONFIG_SYS_64BIT_VSPRINTF                      /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 80c41a49688232ecfb3bb72bdc2d5c57c5ac0468..2ef6a35b1cdcb53f537dbf79a30c156a0d08d7e9 100644 (file)
 
 #define CONFIG_SYS_MALLOC_LEN  (1024 * 1024)   /* Reserved for malloc */
 
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for UBI/UBIFS */
-
 /* UBI Support for all Keymile boards */
 #define CONFIG_CMD_UBI
 #define CONFIG_RBTREE
index 965599c7a7b94fdb08b90c2d0a866fccfd825995..8d4ce8d8ad0c8e590c4c3504da6e4bec8421fe60 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 e194c8f7bbed64eaef0204657262f8740e523233..cccc31d5edc983fd0430eb4c8727c43cc5d1ee7d 100644 (file)
 #define CONFIG_SYS_MAX_NAND_DEVICE      1
 #define NAND_MAX_CHIPS                  CONFIG_SYS_MAX_NAND_DEVICE
 
-#define        CONFIG_SYS_64BIT_VSPRINTF       /* needed for nand_util.c */
-
 /*
  * Configuration parameters for MPC5121 NAND driver
  */
index b996854f4343f7c853d2ee08edf739532c01bf07..ab5cbca1860004dc0da1e452b0420e800f6112fd 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PD15
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PA22
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 /* Ethernet */
index ebc518c03c16efa279906fe43e68de91f0c19d97..fb49388bd0f6b76f5f635d0df6099791f8cc6abc 100644 (file)
 #define NAND_MAX_CHIPS                  CONFIG_SYS_MAX_NAND_DEVICE
 #define CONFIG_SYS_NAND_SELECT_DEVICE  /* driver supports mutipl. chips */
 
-#define        CONFIG_SYS_64BIT_VSPRINTF       /* needed for nand_util.c */
-
 /*
  * Configuration parameters for MPC5121 NAND driver
  */
index 7bddf2444b029e3d4be7089d1652eae5438ed6b9..20b423bb8b67edfe0e9a7de8a15b1f5c8a74dde8 100644 (file)
 #define CONFIG_SYS_NAND_BASE           0x04000000 + (2 << 23)
 #define NAND_ALLOW_ERASE_ALL           1
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_HARD_I2C
 #define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_SYS_I2C_SLAVE           1
index a00c2fb23a9e47c7a7b71bbb27dd9d2a02aab186..2b640dca980b14782215096bbcd88b6ffa87c98e 100644 (file)
@@ -91,7 +91,6 @@
 #define CONFIG_SYS_MEMTEST_END         0x0FFFFFFF
 #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 256 * 1024)
 #define CONFIG_SYS_GBL_DATA_SIZE       128     /* for initial data */
-#define CONFIG_SYS_64BIT_VSPRINTF      /* mtd desires this */
 
 #define BOARD_LATE_INIT                /* call board_late_init during start up */
 
index 024b9b83343a6ab69d04e29d51167269da62212a..a6fe5e12bd6df446c60d16b0880389f0b7c69c60 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1               /* Max number of NAND */
                                                        /* devices */
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 6709edc8635218587874f0e91491be8e2aaa49bb..00093f83dc003396a855dbaafa23281f7d17f79f 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1               /* Max number of */
                                                        /* NAND devices */
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 0f812a79309d612b26eac22a5c5f24e3e6a1d76b..0c12b9fea05da322850effc7d8679b557bf2ea7e 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND */
                                                /* devices */
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 0cafeb81c7a652d9eb348f1e44b504e461a8d555..154c0f4f3d4e63419d255d985aa8602431d1143a 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1       /* Max number of NAND */
                                                /* devices */
-
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 2aef973bced8cd8b05d3cdaeb5d3249eceb86530..ef7a28bbc5a8e8a242805d8cd1fa1f8f5a3d9a46 100644 (file)
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1               /* Max number of NAND */
                                                        /* devices */
-
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV               "nand0"
index 5b03fb6987aae7e55f410a451fcd0085beccfdbc..2b076666e962bc1ed1848faa8f146ad7720e19d2 100644 (file)
 #define GPMC_NAND_ECC_LP_x16_LAYOUT    1
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 /* Environment information */
 #define CONFIG_BOOTDELAY               10
 
index 2aba0cbe98a1e9a7f05deac0ba170696e0cf5be6..88f27baafdf203ad995aefb377965aefdfe88e9d 100644 (file)
 #define NAND_MAX_CHIPS                 1
 #define CONFIG_SYS_NAND_BASE           0xD8000000      /* KW_DEFADR_NANDF */
 #define NAND_ALLOW_ERASE_ALL           1
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 /*
index 2612165cb79b8a2b79b27527d3d52e0a505ddd21..220f68658bc02064bb8e0ad38c73e0d3df78c8a7 100644 (file)
  */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 #define CONFIG_SYS_NAND_BASE           0x51000000      /* NAND FLASH Base Address */
-#define CONFIG_SYS_64BIT_VSPRINTF                      /* needed for nand_util.c */
 #endif
 
 /*
index 9bf49baf58c89ac7293796040c6eea18f92a2d56..399d15f9feebc62564f2db991c52bfc26ebaccd4 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN             AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN              AT91_PIN_PA16
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
-
 /* NOR flash */
 #define CONFIG_SYS_FLASH_CFI                   1
 #define CONFIG_FLASH_CFI_DRIVER                        1
index 6761c182d7a6a6de63f6c831e65eb17326e89741..0af1280370b3a9f27831abc0a266e3c62d379102 100644 (file)
 #define CONFIG_SYS_NAND_ENABLE_PIN     AT91_PIN_PD15
 #define CONFIG_SYS_NAND_READY_PIN      AT91_PIN_PB30
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
 #endif
 
 #define CONFIG_CMD_JFFS2               1
index d63c43e932abd010d3670d0dede6b8de611281aa..b08dcd42dec76d1f38b7f063b84a456cdb008eae 100644 (file)
 #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 3f4d42c51b142f801b4ed7843dfbda4359e609b2..3d8e25cc84d20cacc4dc6ffeea3b56232edc4e47 100644 (file)
 #define NAND_MAX_CHIPS                 1
 #define CONFIG_SYS_NAND_BASE           0xD8000000      /* KW_DEFADR_NANDF */
 #define NAND_ALLOW_ERASE_ALL           1
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 /*
index 7a2dcd884b94a62d2e686293f792decfb8443678..f4b34775a636583534d280aca783bb084dd8771c 100644 (file)
 #define CONFIG_ENV_OFFSET              0x60000
 #define CONFIG_ENV_OFFSET_REDUND       0x80000
 #define CONFIG_ENV_SIZE                        0x20000
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 #define CONFIG_BOOTCOMMAND     "nboot 0x21000000 0 400000"
index 682d241d3b4b2f516174de45452280b47c88351b..315eebe7f6ba06f6a57f7ff122575f8fdbaf2ed6 100644 (file)
 #define CONFIG_OF_BOARD_SETUP          1
 #define CONFIG_OF_STDOUT_VIA_ALIAS     1
 
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * I2C
  */
index d4697ad3f715ee0c8ae7a3791aa48890ebdecf61..a5eca398907bf173e5b90419d35b31e131b91199 100644 (file)
 #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 */
 
 /* No command line, one static partition */
index 1f95a3ced93af0ae2355cad75a8ef03a95d667ae..fc401a8f880d7a4c1cb286f9b400fe07670f7dae 100644 (file)
 #define NAND_MAX_CHIPS                 1
 #define CONFIG_SYS_NAND_BASE           0xD8000000      /* KW_DEFADR_NANDF */
 #define NAND_ALLOW_ERASE_ALL           1
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 /*
index f644cd2cdaacad41fec892f7b61ff46b7146e8a0..f04feae21958f25530cd23ca0a35b57b317e83d7 100644 (file)
                                 48, 49, 50, 51, 52, 53, 54, 55, \
                                 56, 57, 58, 59, 60, 61, 62, 63}
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 /* Boot configuration (define only one of next 3) */
 #define CONFIG_BOOT_NAND
 /* None of these are currently implemented. Left from the original Samsung
index 8c472aff475d030b6b261b08a46c8b00a966c56f..bf0ee67ba1ab6b38c4fbec95a1975e22644b5326 100644 (file)
 #define CONFIG_SYS_MONITOR_LEN         (256 << 10)     /* 256 KiB */
 #define CONFIG_IDENT_STRING            " for SMDKC100"
 
-#define CONFIG_SYS_64BIT_VSPRINTF
-
 #if !defined(CONFIG_NAND_SPL) && (TEXT_BASE >= 0xc0000000)
 #define CONFIG_ENABLE_MMU
 #endif
index 3632b847f819eaf99bb3bfcbbc984958fbcbaad8..96410413a0f4f81fce7d0ba69ff7029e6e7860b4 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        */
index 5b70a7bec898bacc0296feeb7607863de68c6ae8..4ad081b0baf3bc9af56db9131460da758ac9a451 100644 (file)
 #define CONFIG_ENV_OFFSET 0x60000
 #define CONFIG_ENV_OFFSET_REDUND 0x80000
 #define CONFIG_ENV_SIZE 0x20000
-#define CONFIG_SYS_64BIT_VSPRINTF      /* needed for nand_util.c */
 #endif
 
 #define CONFIG_BOOTCOMMAND     "nboot 0x21000000 0 400000"
index 20bf48148a8b782a6a6082ae6ee7190ba7625c7f..1b894a60ed5e61403f7a8c4b9a14987226a1be8b 100644 (file)
@@ -283,12 +283,6 @@ int vct_gpio_get(int pin);
 #define CONFIG_BOOTCOMMAND     "run test3"
 #define CONFIG_BOOTDELAY       5       /* autoboot after 5 seconds     */
 
-/*
- * Needed for 64bit printf format
- */
-#define CONFIG_SYS_64BIT_VSPRINTF      1
-#define CONFIG_SYS_64BIT_STRTOUL       1
-
 /*
  * UBI configuration
  */
index 36c341e7c2e27c4272bb07330c6719668e2088ef..d0fc13888ec1b9d88b3adfa974fed5ebc8d4d438 100644 (file)
 #define CONFIG_SYS_NAND_SENDCMD_RETRY  3
 #undef NAND_ALLOW_ERASE_ALL    /* Allow erasing bad blocks - don't use */
 
-#define CONFIG_SYS_64BIT_VSPRINTF              /* needed for nand_util.c */
-
 /* NAND Timing Parameters (in ns) */
 #define NAND_TIMING_tCH                10
 #define NAND_TIMING_tCS                0
index 5024db447f8647b3df9cffe7b08ba15c22fe93e9..ee30a4ca3de8ae2450ae659af3db66ac5307df3e 100644 (file)
 #endif /* 440EP/EPX 440GR/GRX 440SP/SPE 460EX/GT/SX 405EX*/
 
 #if defined(CONFIG_440)
-/*
- * Enable long long (%ll ...) printf format on 440 PPC's since most of
- * them support 36bit physical addressing
- */
-#define CONFIG_SYS_64BIT_VSPRINTF
-#define CONFIG_SYS_64BIT_STRTOUL
 #include <ppc440.h>
 #else
 #include <ppc405.h>
index 3d95728efb3c137e4cd3b8c046098758edc4539f..8c58a9366291bff911576e758156e8ec31b89213 100644 (file)
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 #endif
 
-#ifdef CONFIG_SYS_64BIT_VSPRINTF
 #include <div64.h>
 # define NUM_TYPE long long
-#else
-# define NUM_TYPE long
-#define do_div(n, base) ({ \
-       unsigned int __res; \
-       __res = ((unsigned NUM_TYPE) n) % base; \
-       n = ((unsigned NUM_TYPE) n) / base; \
-       __res; \
-})
-#endif
 #define noinline __attribute__((noinline))
 
-
 const char hex_asc[] = "0123456789abcdef";
 #define hex_asc_lo(x)   hex_asc[((x) & 0x0f)]
 #define hex_asc_hi(x)   hex_asc[((x) & 0xf0) >> 4]
@@ -104,7 +93,6 @@ int ustrtoul(const char *cp, char **endp, unsigned int base)
        return result;
 }
 
-#ifdef CONFIG_SYS_64BIT_STRTOUL
 unsigned long long simple_strtoull (const char *cp, char **endp, unsigned int base)
 {
        unsigned long long result = 0, value;
@@ -132,7 +120,6 @@ unsigned long long simple_strtoull (const char *cp, char **endp, unsigned int ba
                *endp = (char *) cp;
        return result;
 }
-#endif /* CONFIG_SYS_64BIT_STRTOUL */
 
 /* we use this so that we can do without the ctype library */
 #define is_digit(c)    ((c) >= '0' && (c) <= '9')
@@ -631,12 +618,9 @@ int vsprintf(char *buf, const char *fmt, va_list args)
                                --fmt;
                        continue;
                }
-#ifdef CONFIG_SYS_64BIT_VSPRINTF
                if (qualifier == 'L')  /* "quad" for 64 bit variables */
                        num = va_arg(args, unsigned long long);
-               else
-#endif
-               if (qualifier == 'l') {
+               else if (qualifier == 'l') {
                        num = va_arg(args, unsigned long);
                        if (flags & SIGN)
                                num = (signed long) num;