[U-Boot] [RFC] [PATCH 0/4] Add support for Freescale's 85xx and P1/P2xxx eSPI controller

Can Aydin
2010-09-28T23:50:09Z

Dear Wolfgang,

On 28/09/2010 10:46 PM, Wolfgang Denk wrote:
>
>
>> People could also choose to bitbang the SPI on their custom hardware but
>> again I feel that might defeat the purpose and spirit of u-boot. (Then
>> again, I'm new so don't quote me on that).
> Oops? Where exactly do you see conflicts with "the purpose and
> spirit" of U-Boot?
I was mostly referring to u-boot's aim of being a universal boot loader.
As an analogy to the Linux kernel, when attempting to support multiple
architectures and platforms, there is often the inevitable case where
unfortunate hardware quirks have to be handled by some sort of framework
for dealing with special cases in the driver model.

As the SPI pins cannot be driven as GPIO, anyone who wants to use this
particular feature will necessarily have to implement their own
workarounds in the current u-boot code.

Would a better starting point be to just submit the driver(which works
fine standalone with cmd_spi) and leave the discussions regarding
spi_flash common code for further debate?

Can