diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 03:25:19 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-22 09:33:56 -0400 |
commit | 5d927b428622800850d845b468a3165eb1c92d7b (patch) | |
tree | 043bc13dd23dae12201ab2c288d6af32a7ae996d /cmd | |
parent | b0e7a70a0594c3545a5da3e1a456362be1c27705 (diff) | |
download | u-boot-5d927b428622800850d845b468a3165eb1c92d7b.tar.gz |
Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP
This option is not used by any board. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/fdt.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |