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-24 10:51:32 -0400
commitf6a24a177f3e09d9c954b25f5a52cdfdea3e6c85 (patch)
treecfb12396a89d16ced8af3770f9ea49d1ae167ed7
parent6441164dda7dac0c4039c90c329e973786c21b22 (diff)
downloadu-boot-f6a24a177f3e09d9c954b25f5a52cdfdea3e6c85.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> Reviewed-by: Tom Rini <trini@konsulko.com>
-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