aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-12 11:13:35 -0600
committerTom Rini <trini@konsulko.com>2020-10-10 16:49:58 -0400
commit26637e2e4c7235e4fe01b78a9646471c65e28aea (patch)
treef0236c1911bf52fac9e493f1c92da3de94723500 /lib
parent52d3df7fefe30b05677db9055e68c666a071d89a (diff)
downloadu-boot-26637e2e4c7235e4fe01b78a9646471c65e28aea.zip
u-boot-26637e2e4c7235e4fe01b78a9646471c65e28aea.tar.gz
u-boot-26637e2e4c7235e4fe01b78a9646471c65e28aea.tar.bz2
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 <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 8efb154..37aae73 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