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 ;)
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot