
31 Jan
2012
31 Jan
'12
11:37 a.m.
Works fine.
Matthias
Tested-by: Matthias Fuchs matthias.fuchs@esd.eu
On 30.01.2012 21:02, Eric Nelson wrote:
This patch allows a board configuration file to provide default bus and chip-selects for SPI flash so that first argument to the 'sf' command is optional.
On boards that use the mxc_spi driver and a GPIO for chip select, this allows a much simpler command line: U-Boot> sf probe instead of U-Boot> sf probe 0x5300 Signed-off-by: Eric Nelson eric.nelson@boundarydevices.com
common/cmd_sf.c | 37 +++++++++++++++++++++---------------- 1 files changed, 21 insertions(+), 16 deletions(-)