[U-Boot] [PATCH 23/28] Convert CONFIG_CMD_DEKBLOB to Kconfig
Simon Glass
sjg at chromium.org
Thu Apr 27 04:28:06 UTC 2017
This converts the following to Kconfig:
CONFIG_CMD_DEKBLOB
Note: This option does not seem to actually be enabled by any board.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/arm/imx-common/Kconfig | 8 ++++++++
include/configs/mx6_common.h | 1 -
include/configs/mx7_common.h | 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
index 7383ee7150..1ca1f29ceb 100644
--- a/arch/arm/imx-common/Kconfig
+++ b/arch/arm/imx-common/Kconfig
@@ -44,3 +44,11 @@ config CMD_BMODE
on U-Boot. Using the reset button or running bmode normal
will set it back to normal. This command currently
supports i.MX53 and i.MX6.
+
+config CMD_DEKBLOB
+ bool "Support the 'dek_blob' command"
+ help
+ This enables the 'dek_blob' command which is used with the
+ Freescale secure boot mechanism. This command encapsulates and
+ creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for
+ more information.
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index c841ca9115..21ac3fc357 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -84,7 +84,6 @@
/* Secure boot (HAB) support */
#ifdef CONFIG_SECURE_BOOT
#define CONFIG_CSF_SIZE 0x2000
-#define CONFIG_CMD_DEKBLOB
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
#endif
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index e2b05caa94..9a20c7732d 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -67,7 +67,6 @@
/* Secure boot (HAB) support */
#ifdef CONFIG_SECURE_BOOT
#define CONFIG_CSF_SIZE 0x2000
-#define CONFIG_CMD_DEKBLOB
#endif
#endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2e9ddea42c..4b7d34372a 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -394,7 +394,6 @@ CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
CONFIG_CMD_DATE
-CONFIG_CMD_DEKBLOB
CONFIG_CMD_DFL
CONFIG_CMD_DIAG
CONFIG_CMD_DISPLAY
--
2.13.0.rc0.306.g87b477812d-goog
More information about the U-Boot
mailing list