It is sometimes useful to output hex dumps in SPL. Add a config option to allow this.
Signed-off-by: Simon Glass <s...@chromium.org> Reviewed-by: Stefan Roese <s...@denx.de> --- Changes in v2: - Leave the Makefile alone as the logic is in the C file lib/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 8efb154f734..37aae73a266 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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 -- 2.28.0.618.gf4bc123cb7-goog