[U-Boot] [RFC] [PATCH 0/4] Add support for Freescale's 85xx and P1/P2xxx eSPI controller
Can Aydin
can.aydin at locatacorp.com
Wed Sep 29 01:37:13 CEST 2010
On 28/09/2010 11:22 PM, Reinhard Meyer wrote:
> Dear Wolfgang Denk, Can Aydin,
>>> True, a GPIO pin could be re-purposed to serve as chip select, but that
>>> would involve a soldering iron and a steady hand as the P1/P2xxRDB
>> That was not the question.
>>
>> Reinhard asked if the SPI Chip Select Pins could be configured such so
>> that they can be used in GPIO mode instead of special function mode.
>> That would make code way simpler.
> Exactly. Just have this pin work as GPIO, while the rest stays special
> function. But then, some SoCs can not individually assign pins to special
> functions but can only do that in groups. Maybe that's the issue here.
Yes, I realized that was the actual question after I sent the reply.
Unfortunately GPIO is not an option for the SPI pins on these particular
SoCs.
They can only be used either as SPI or as extra data pins for the SDHC.
> And then: currently an "sf write" is not restricted in the length of data
> written. It would be limited due to the malloc needed for the patch.
>
> Reinhard
>
--
*Can Aydin*
Software Engineer
Locata Corporation
can.aydin at locatacorp.com
Locata Corporation Pty Ltd
Level 1, 111 Canberra Ave
Griffith ACT 2603 Australia
Phone +612 6126 5734
Fax +612 6126 5704
More information about the U-Boot
mailing list