All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Serial Flash: call spi_flash_free more coherently
@ 2013-09-17  6:46 Valentin Longchamp
  2013-09-17  6:46 ` [U-Boot] [PATCH 1/3] env_sf: generalize call to spi_flash_free after accesses Valentin Longchamp
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Valentin Longchamp @ 2013-09-17  6:46 UTC (permalink / raw)
  To: u-boot

Some board require spi_flash_free to 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_free
calls to env_sf so that the SPI interface is always "cleaned up" after
the env read/writes. Patch 2 adds a 'sf release' command that implicitly
calls spi_flash_free and is thus the pendant of 'sf probe'. Patch 3 uses
the 'sf command' for the km_arm board scripts.


Valentin Longchamp (3):
  env_sf: generalize call to spi_flash_free after accesses
  cmd_sf: add 'release' command
  km_arm: call 'sf release' in the newenv and update scripts

 common/cmd_sf.c             | 13 ++++++++++++-
 common/env_sf.c             | 34 ++++++++++++++++------------------
 include/configs/km/km_arm.h |  6 ++++--
 3 files changed, 32 insertions(+), 21 deletions(-)

-- 
1.8.0.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-15  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17  6:46 [U-Boot] [PATCH 0/3] Serial Flash: call spi_flash_free more coherently Valentin Longchamp
2013-09-17  6:46 ` [U-Boot] [PATCH 1/3] env_sf: generalize call to spi_flash_free after accesses Valentin Longchamp
2013-09-17  6:46 ` [U-Boot] [PATCH 2/3] cmd_sf: add 'release' command Valentin Longchamp
2013-09-17  6:46 ` [U-Boot] [PATCH 3/3] km_arm: call 'sf release' in the newenv and update scripts Valentin Longchamp
2014-01-21 10:03 ` [U-Boot] [PATCH 0/3] Serial Flash: call spi_flash_free more coherently Valentin Longchamp
2014-10-10 11:23   ` Valentin Longchamp
2014-10-15  7:26     ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.