[U-Boot] [PATCH] SPI: cmd_spi.c: add option to specify bus and mode

Reinhard Meyer u-boot at emk-elektronik.de
Thu Aug 26 07:26:28 CEST 2010


Dear Mike Frysinger,
>> <bus>:<cs>[.<mode>]<bit_len>  <dout>
>
> how so ?  the bus:cs.mode field is always going to be one argv, and your patch
> has it so that argv[1] is always parsed against this form.  i dont see where
> this limitation is that you're seeing ...
> -mike
Currently, without a ":", the "." part won't be handled. But I see that a simple
rearrangement would solve this. I'll fix and test that.

Reinhard


More information about the U-Boot mailing list