summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_debug_support.c
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2025-03-26 13:24:09 +0100
committerTom Rini <trini@konsulko.com>2025-04-10 14:21:41 -0600
commitffe4e6ab42d2534302be825e49a2d085acf80f30 (patch)
treee786e6585db16861b4de337185e493dc454944ad /lib/efi_loader/efi_debug_support.c
parent0cd3c1e7d0201cf9e4dbcac1e0179604f4461062 (diff)
scsi: sync cache on write
We don't have a mechanism to safely shutdown block devices prior to a baord reset or driver removal. Prevent data loss by synchronizing the SCSI cache after every write. In particular this solves the issue of capsule updates looping on some devices because the board resets immediately after deleting the capsule file and this write wouldn't be flushed in time. This may impact NAND wear, but should be negligible given the usecases for disk write in U-Boot. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_debug_support.c')
0 files changed, 0 insertions, 0 deletions