Serial Flash: call spi_flash_free more coherently
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/3] Serial Flash: call spi_flash_free more coherently
Quoted 16 lines · Valentin Longchamp
Some board require
spi_flash_freeto be called after all the accesses, in order, for instance, to restore the pin multiplexing configuration in the case where the SPI pins are multiplexed.This patch series tries to enhance this. Patch 1 adds
spi_flash_freecalls toenv_sfso that the SPI interface is always "cleaned up" after the env read/writes. Patch 2 adds a 'sf release' command that implicitly callsspi_flash_freeand is thus the pendant of 'sf probe'. Patch 3 uses the 'sf command' for thekm_armboard scripts.Valentin Longchamp (3):
env_sf: generalize call tospi_flash_freeafter accesses
cmd_sf: add 'release' command
km_arm: call 'sf release' in the newenv and update scripts
Quoted 5 lines
common/cmd_sf.c | 13 ++++++++++++- common/env_sf.c | 34 ++++++++++++++++------------------ include/configs/km/km_arm.h | 6 ++++-- 3 files changed, 32 insertions(+), 21 deletions(-)
I have sent this series 4 months ago and while it is according to patchwork under review I have not received any feedback yet.
That would be nice if this goes into the next merge window since they have been floating around for 4 months now.
Thanks
Valentin