xilinx: Move bootmode detection to separate function
[oweals/u-boot.git] / 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