[U-Boot] Sandbox support for extra features

Simon Glass sjg at chromium.org
Wed Oct 29 19:54:34 CET 2014


Hi Jagan,


On 28 October 2014 09:15, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> Hi Simon,
>
> On 28 October 2014 06:35, Simon Glass <sjg at chromium.org> wrote:
>> Hi Jagan,
>>
>> Now that SPI has support for 2- and 4-bit, fast/slow mode, etc.,
>> sandbox has fallen behind. I wonder if we could add these features to
>> sandbox without much difficultly?
>
> Are you taking about quad support (4-wire transfers)? - I guess fast
> read is supporting
> already.
>
> Yes- we can add but, can't we reuse the existing sf_ops for sanbox for
> all the support,
> like normal driver in drivers/spi will use sf?

Yes we can just reuse the existing code, but need to add a small
amount of code to the sandbox SPI driver and the sandbox SPI flash
emulation to deal with the new commands.

Regards,
Simon


More information about the U-Boot mailing list