From: Heinrich Schuchardt Date: Wed, 15 Apr 2020 16:46:22 +0000 (+0200) Subject: lib: do not provide hexdump in SPL X-Git-Tag: v2020.07-rc1~17^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6a24a177f3e09d9c954b25f5a52cdfdea3e6c85;p=oweals%2Fu-boot.git lib: do not provide hexdump in SPL SPL should not be enlarged by building with CONFIG_HEXDUMP=y. Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini --- 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