From 26637e2e4c7235e4fe01b78a9646471c65e28aea Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 12 Sep 2020 11:13:35 -0600 Subject: [PATCH] lib: Allow hexdump to be used in SPL It is sometimes useful to output hex dumps in SPL. Add a config option to allow this. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese --- lib/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 8efb154f73..37aae73a26 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.39.5