From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Fri, 20 Jan 2012 06:47:33 -0700 Subject: [U-Boot] [PATCH 6/6] mx6q: mx6qsabrelite: Provide defaults for placing environment in serial flash In-Reply-To: <4F192A16.4090309@denx.de> References: <1326838190-13746-1-git-send-email-eric.nelson@boundarydevices.com> <1326838190-13746-7-git-send-email-eric.nelson@boundarydevices.com> <4F19125D.1080100@de.bosch.com> <4F192A16.4090309@denx.de> Message-ID: <4F197075.2050400@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/20/2012 01:47 AM, Stefano Babic wrote: > On 20/01/2012 08:48, Jason Hui wrote: > >>>> >>>> I'm wondering how the CONFIG_ENV_SPI_CS could be 0x5300? Vague? >> >> Then the left open question is only above one. > > The SPI driver can take as chip select the controller's chip selects as > well as an external GPIO. The LSB byte has the value of the internal > chip select, the highest (thought as 16-bit value) contains the GPIO > number. Reading this configuration, the GPIO used on this board should > be the number 83 (0x53). > > Stefano > Thanks Stefano, I like your description better than the one I just wrote... I should have scanned all of my e-mails before drafting my earlier commit msg ;)