[2/2] imx8mn_bsh_smm_s2: Add legacy option nandfit_part

Message ID 20211115115938.33697-2-michael@amarulasolutions.com
State New
Headers show
Series
  • [1/2] configs: imx8mn_bsh_smm_s2: Add nand enviroment support
Related show

Commit Message

Michael Trimarchi Nov. 15, 2021, 11:59 a.m. UTC
imx8mn has written in fuse where to find secondary bootloader.
The default value offset is 64mb. This is used by uuu to flash
secondary bootloader

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
 include/configs/imx8mn_bsh_smm_s2_common.h | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/include/configs/imx8mn_bsh_smm_s2_common.h b/include/configs/imx8mn_bsh_smm_s2_common.h
index 5a63f23df3..97fbfc56d4 100644
--- a/include/configs/imx8mn_bsh_smm_s2_common.h
+++ b/include/configs/imx8mn_bsh_smm_s2_common.h
@@ -33,6 +33,7 @@ 
 #endif /* CONFIG_SPL_BUILD */
 
 #define MEM_LAYOUT_ENV_SETTINGS \
+	"nandfit_part=yes\0" \
 	"scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
 	"kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
 	"ramdisk_addr_r=0x43800000\0" \