]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lib: Allow hexdump to be used in SPL
authorSimon Glass <sjg@chromium.org>
Sat, 12 Sep 2020 17:13:35 +0000 (11:13 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 10 Oct 2020 20:49:58 +0000 (16:49 -0400)
It is sometimes useful to output hex dumps in SPL. Add a config option to
allow this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
lib/Kconfig

index 8efb154f734438f25125b64981f18ee1a2f08f3d..37aae73a266403e06b95e5f425d19959a26512d4 100644 (file)
@@ -542,6 +542,14 @@ config HEXDUMP
        help
          This enables functions for printing dumps of binary data.
 
+config SPL_HEXDUMP
+       bool "Enable hexdump in SPL"
+       depends on HEXDUMP
+       default y
+       help
+         This enables functions for printing dumps of binary data in
+         SPL.
+
 config OF_LIBFDT
        bool "Enable the FDT library"
        default y if OF_CONTROL