summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-04-15 18:46:22 +0200
committerTom Rini <trini@konsulko.com>2020-04-15 16:07:53 -0400
commitcefeb9bcfb640ddd90e49c3dd87d7c61b21fa60a (patch)
tree9b38afc752ef477791133224924f031922595aff
parent15451bbb9919b47c20b063443355a35b830c65e4 (diff)
downloadu-boot-cefeb9bcfb640ddd90e49c3dd87d7c61b21fa60a.tar.gz
lib: do not provide hexdump in SPL
SPL should not be enlarged by building with CONFIG_HEXDUMP=y. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--lib/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hexdump.c b/lib/hexdump.c
index bf14b5bdbd..a3f219a874 100644
--- a/lib/hexdump.c
+++ b/lib/hexdump.c
@@ -18,7 +18,7 @@
const char hex_asc[] = "0123456789abcdef";
const char hex_asc_upper[] = "0123456789ABCDEF";
-#ifdef CONFIG_HEXDUMP
+#if CONFIG_IS_ENABLED(HEXDUMP)
/**
* hex_dump_to_buffer - convert a blob of data to "hex ASCII" in memory
* @buf: data blob to dump