diff options
author | Apurva Nandan <a-nandan@ti.com> | 2023-01-23 23:13:29 +0530 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-01-25 14:10:19 -0600 |
commit | 341effe314230347f952776b4ac660229613f47a (patch) | |
tree | 853ccee9c96a1a5e0f8bb0e94e0d6a6a655b6bc0 /configs | |
parent | 13e96746ab470bbe7b44cde9b4a548946ff99c10 (diff) |
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 <a-nandan@ti.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/am62x_lpsk_a53_defconfig | 1 | ||||
-rw-r--r-- | configs/am62x_lpsk_r5_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
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 |