diff options
| author | Judith Mendez <[email protected]> | 2025-08-20 16:56:34 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-11 11:59:35 -0600 |
| commit | 6fd45dd488f9605e2f634c7e5da4ac2925c118c8 (patch) | |
| tree | a21177ed8bc6149b0f6ddbd040e7d535dbb06a37 /include | |
| parent | c85b8071e7d3fd333f8a2fdd28083cb5ec3a0645 (diff) | |
mach-k3: am62*: Fix backup from eMMC boot mode
Currently logic in spl_mmc_boot_mode only lookes at main devstat
to determine the bootmode to return. Thus, when using: 'eMMC boot'
as primary boot mode and 'MMCSD boot from eMMC UDA' as backup
boot mode, 'eMMC boot' is always selected. Add check for bootindex
to determine if ROM boot via backup boot mode and return MMCSD_MODE_FS
which is the only supported backup bootmode with eMMC device.
Signed-off-by: Judith Mendez <[email protected]>
Reviewed-by: Anshul Dalal <[email protected]>
Reviewed-by: Moteen Shah <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
