[PATCH] Invalidate cached FAT device upon boot error

Tom Rini trini at konsulko.com
Thu Nov 6 17:59:49 CET 2025


On Thu, 30 Oct 2025 22:33:01 +0530, Prasad Kale wrote:

> When spl boot device list has multiple FAT devices, any previousely
> registered FAT device should be deregistered before registering
> next FAT boot device, otherwise the function may not attempt boot
> from next FAT device.One of the situations where this issue can be
> observed is when the boot device list has two FAT partitions of a
> memory device and if booting fails on first partition (because of
> file or partition related errors), boot from next partition actually
> gets attempted on previous boot device only, as the previous device
> has remained marked as registered. Call the function that invalidates
> cached boot device in case of failure in booting from current FAT
> boot device.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] Invalidate cached FAT device upon boot error
      commit: c488907f91ec90bb6a93803b1db53e24b93b52ea
-- 
Tom




More information about the U-Boot mailing list