From 341effe314230347f952776b4ac660229613f47a Mon Sep 17 00:00:00 2001 From: Apurva Nandan Date: Mon, 23 Jan 2023 23:13:29 +0530 Subject: spl: mtd: Remove MTD device after loading images Releasing the flash into proper state, after the loading completes, is important for the next stage bootloader/kernel to be able to use the MTD device. This would enable to reset the device for fresh use by next boot stage. Signed-off-by: Apurva Nandan --- configs/am62x_lpsk_a53_defconfig | 1 + configs/am62x_lpsk_r5_defconfig | 1 + 2 files changed, 2 insertions(+) (limited to 'configs') diff --git a/configs/am62x_lpsk_a53_defconfig b/configs/am62x_lpsk_a53_defconfig index 57fe09ad8c..94221cbcb8 100644 --- a/configs/am62x_lpsk_a53_defconfig +++ b/configs/am62x_lpsk_a53_defconfig @@ -87,6 +87,7 @@ CONFIG_SYS_MMC_ENV_PART=1 CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM=y CONFIG_SPL_DM=y +CONFIG_SPL_DM_DEVICE_REMOVE=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y diff --git a/configs/am62x_lpsk_r5_defconfig b/configs/am62x_lpsk_r5_defconfig index eaca19e2ed..ef7ede0519 100644 --- a/configs/am62x_lpsk_r5_defconfig +++ b/configs/am62x_lpsk_r5_defconfig @@ -68,6 +68,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_PART=1 CONFIG_DM=y CONFIG_SPL_DM=y +CONFIG_SPL_DM_DEVICE_REMOVE=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y -- cgit v1.2.3