diff options
| author | Austin Shirley <[email protected]> | 2026-05-06 16:37:58 -0600 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-05-12 15:50:47 +0200 |
| commit | 467dc9a44b7b5654089ea1334a14ffd20c028916 (patch) | |
| tree | 6bfb52e0e37982ef0fdf82998de693ee6bf38bc0 /include/linux | |
| parent | 5732bd0f457b4c671e46574d64d4acb099c0f0a5 (diff) | |
configs: stm32mp13: add SPI-NAND UBI boot support
The STM32MP13 default environment only handles MMC and serial/USB boot.
When TF-A reports BOOT_FLASH_SPINAND the boot_device variable is set to
'spi-nand' but bootcmd_stm32mp never redirects boot_targets to ubifs0,
so distro_bootcmd falls through to MMC/USB.
This change mirrors the STM32MP15 logic:
- Add a BOOT_TARGET_UBIFS entry to BOOT_TARGET_DEVICES so that
bootcmd_ubifs0 is defined (ubi part UBI; ubifsmount ubi0:boot).
- Add the 'spi-nand' / 'nand' clause to bootcmd_stm32mp so that
boot_targets is set to 'ubifs0' when booting from NAND.
Signed-off-by: Austin Shirley <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
