* [PATCH v1] imx: enable ahab on imx8qm-rom7720
@ 2022-05-03 12:15 Oliver Graute
0 siblings, 0 replies; only message in thread
From: Oliver Graute @ 2022-05-03 12:15 UTC (permalink / raw)
To: sbabic; +Cc: oliver.graute, u-boot
enable ahab on imx8qm-rom7720
Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com>
---
configs/imx8qm_rom7720_a1_4G_defconfig | 1 +
include/configs/imx8qm_rom7720.h | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/configs/imx8qm_rom7720_a1_4G_defconfig b/configs/imx8qm_rom7720_a1_4G_defconfig
index d9997cfa82..49deb283ff 100644
--- a/configs/imx8qm_rom7720_a1_4G_defconfig
+++ b/configs/imx8qm_rom7720_a1_4G_defconfig
@@ -85,4 +85,5 @@ CONFIG_SPL_DM_REGULATOR_GPIO=y
CONFIG_DM_SERIAL=y
CONFIG_FSL_LPUART=y
CONFIG_SPL_TINY_MEMSET=y
+CONFIG_AHAB_BOOT=y
# CONFIG_EFI_LOADER is not set
diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h
index 81ab5d8caa..b98e739e00 100644
--- a/include/configs/imx8qm_rom7720.h
+++ b/include/configs/imx8qm_rom7720.h
@@ -22,6 +22,12 @@
#define CONFIG_SYS_BOOTM_LEN SZ_64M
+#ifdef CONFIG_AHAB_BOOT
+#define AHAB_ENV "sec_boot=yes\0"
+#else
+#define AHAB_ENV "sec_boot=no\0"
+#endif
+
/* FUSE command */
/* Boot M4 */
@@ -54,6 +60,7 @@
/* Initial environment variables */
#define CONFIG_EXTRA_ENV_SETTINGS \
+ AHAB_ENV \
CONFIG_MFG_ENV_SETTINGS \
M4_BOOT_ENV \
"script=boot.scr\0" \
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-03 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 12:15 [PATCH v1] imx: enable ahab on imx8qm-rom7720 Oliver Graute
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.