]> git.sur5r.net Git - u-boot/commitdiff
Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:19 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 13:33:56 +0000 (09:33 -0400)
This option is not used by any board. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c
scripts/config_whitelist.txt

index 95dd673b957e45dca344367fe2f3c1d682f28418..a21415dab4c05979fea84aff33c33dcb23e55106 100644 (file)
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -20,9 +20,7 @@
 
 #define MAX_LEVEL      32              /* how deeply nested we will go */
 #define SCRATCHPAD     1024            /* bytes of scratchpad memory */
-#ifndef CONFIG_CMD_FDT_MAX_DUMP
-#define CONFIG_CMD_FDT_MAX_DUMP 64
-#endif
+#define CMD_FDT_MAX_DUMP 64
 
 /*
  * Global data (for the gd->bd)
@@ -901,7 +899,7 @@ static void print_data(const void *data, int len)
        }
 
        if ((len %4) == 0) {
-               if (len > CONFIG_CMD_FDT_MAX_DUMP)
+               if (len > CMD_FDT_MAX_DUMP)
                        printf("* 0x%p [0x%08x]", data, len);
                else {
                        const __be32 *p;
@@ -913,7 +911,7 @@ static void print_data(const void *data, int len)
                        printf(">");
                }
        } else { /* anything else... hexdump */
-               if (len > CONFIG_CMD_FDT_MAX_DUMP)
+               if (len > CMD_FDT_MAX_DUMP)
                        printf("* 0x%p [0x%08x]", data, len);
                else {
                        const u8 *s;
index 59981c31e7e5e1297ca23b2f33a3594fda3222ea..7653d79bd4ef0fcdfb8089a2b11b320479384eee 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP
 CONFIG_CMD_FPGA_LOADFS