From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Tue, 31 Jan 2012 11:37:08 +0100 Subject: [U-Boot] [PATCH 1/2] sf command: allow default bus and chip selects In-Reply-To: <1327953746-4368-2-git-send-email-eric.nelson@boundarydevices.com> References: <1327953746-4368-1-git-send-email-eric.nelson@boundarydevices.com> <1327953746-4368-2-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <4F27C454.4030109@esd.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Works fine. Matthias Tested-by: Matthias Fuchs 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 > --- > common/cmd_sf.c | 37 +++++++++++++++++++++---------------- > 1 files changed, 21 insertions(+), 16 deletions(-) >