lib: do not provide hexdump in SPL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 15 Apr 2020 16:46:22 +0000 (18:46 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:51:32 +0000 (10:51 -0400)
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>
lib/hexdump.c

index bf14b5bdbd3f7833aae0bd5a9e3a85fb23c9063b..a3f219a874161ffbcfb2e0b0025a2173a63ea5cd 100644 (file)
@@ -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