2022-10-05 09:58:13 +02:00
|
|
|
From 27a516e2ad464bf1de5e23e8277e0f6d6735bd21 Mon Sep 17 00:00:00 2001
|
2021-11-30 11:39:19 +01:00
|
|
|
From: Kory Maincent <kory.maincent@bootlin.com>
|
2022-10-05 09:58:13 +02:00
|
|
|
Date: Mon, 3 Oct 2022 12:20:40 +0200
|
2021-11-30 11:39:19 +01:00
|
|
|
Subject: [PATCH 2/2] configs/stm32mp15_trusted_defconfig: disable environment
|
|
|
|
|
|
|
|
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
|
|
|
|
---
|
2022-10-05 09:58:13 +02:00
|
|
|
board/st/stm32mp1/stm32mp1.c | 4 ++++
|
|
|
|
configs/stm32mp15_trusted_defconfig | 9 ---------
|
|
|
|
2 files changed, 4 insertions(+), 9 deletions(-)
|
2021-11-30 11:39:19 +01:00
|
|
|
|
2022-10-05 09:58:13 +02:00
|
|
|
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
|
|
|
|
index 48591b2f1e..ba510d843c 100644
|
|
|
|
--- a/board/st/stm32mp1/stm32mp1.c
|
|
|
|
+++ b/board/st/stm32mp1/stm32mp1.c
|
|
|
|
@@ -78,6 +78,10 @@ DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
#define USB_START_LOW_THRESHOLD_UV 1230000
|
|
|
|
#define USB_START_HIGH_THRESHOLD_UV 2150000
|
|
|
|
|
|
|
|
+#ifndef CONFIG_SYS_MMC_ENV_DEV
|
|
|
|
+#define CONFIG_SYS_MMC_ENV_DEV -1
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
int board_early_init_f(void)
|
|
|
|
{
|
|
|
|
/* nothing to do, only used in SPL */
|
2021-11-30 11:39:19 +01:00
|
|
|
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
|
2022-10-05 09:58:13 +02:00
|
|
|
index 2161ccbefa..fd3fed8fb0 100644
|
2021-11-30 11:39:19 +01:00
|
|
|
--- a/configs/stm32mp15_trusted_defconfig
|
|
|
|
+++ b/configs/stm32mp15_trusted_defconfig
|
2022-10-05 09:58:13 +02:00
|
|
|
@@ -45,15 +45,6 @@ CONFIG_CMD_EXT4_WRITE=y
|
|
|
|
CONFIG_CMD_MTDPARTS=y
|
2021-11-30 11:39:19 +01:00
|
|
|
CONFIG_CMD_UBI=y
|
|
|
|
CONFIG_ENV_IS_NOWHERE=y
|
2022-10-05 09:58:13 +02:00
|
|
|
-CONFIG_ENV_IS_IN_MMC=y
|
2021-11-30 11:39:19 +01:00
|
|
|
-CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
|
|
-CONFIG_ENV_IS_IN_UBI=y
|
2022-10-05 09:58:13 +02:00
|
|
|
-CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
|
|
-CONFIG_ENV_UBI_PART="UBI"
|
|
|
|
-CONFIG_ENV_UBI_VOLUME="uboot_config"
|
|
|
|
-CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r"
|
|
|
|
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
|
|
-CONFIG_SYS_MMC_ENV_DEV=-1
|
2021-11-30 11:39:19 +01:00
|
|
|
CONFIG_STM32_ADC=y
|
2022-10-05 09:58:13 +02:00
|
|
|
CONFIG_CLK_SCMI=y
|
|
|
|
CONFIG_SET_DFU_ALT_INFO=y
|
2021-11-30 11:39:19 +01:00
|
|
|
--
|
|
|
|
2.25.1
|
|
|
|
|