Skip to content
Snippets Groups Projects
Commit c1173bd0 authored by Eric Nelson's avatar Eric Nelson Committed by Mike Frysinger
Browse files

sf command: allow default bus and chip selects


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

Tested-by: default avatarJason Liu <jason.hui@linaro.org>
Signed-off-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 8b463dab
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment