diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-01-31 10:52:07 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-12 15:18:29 -0500 |
commit | c1173bd0754aa55bc52d874d5490c0c892a56ebf (patch) | |
tree | 71d8705c113e9cd895d633ec54946e014532b2d0 /common/cmd_pxe.c | |
parent | 8b463dab933f3bb1e4ec703a9e3cbfca2f031334 (diff) | |
download | u-boot-imx-c1173bd0754aa55bc52d874d5490c0c892a56ebf.zip u-boot-imx-c1173bd0754aa55bc52d874d5490c0c892a56ebf.tar.gz u-boot-imx-c1173bd0754aa55bc52d874d5490c0c892a56ebf.tar.bz2 |
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: Jason Liu <jason.hui@linaro.org>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_pxe.c')
0 files changed, 0 insertions, 0 deletions