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