[U-Boot] [PATCH 1/2] sf command: allow default bus and chip selects

Matthias Fuchs matthias.fuchs at esd.eu
Tue Jan 31 11:37:08 CET 2012


Works fine.

Matthias

Tested-by: Matthias Fuchs <matthias.fuchs at 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 at boundarydevices.com>
> ---
>  common/cmd_sf.c |   37 +++++++++++++++++++++----------------
>  1 files changed, 21 insertions(+), 16 deletions(-)
> 


More information about the U-Boot mailing list