On Sat, Jul 16, 2011 at 13:32, Andreas Pretzsch wrote: > The sspi command writes the given data out on SPI and prints the data it > reads to the console. For write-only slaves (i.e. a SPI-connected latch > used as output expander), this is pointless and clutters the console. > When called as "sspi.w", this output is omitted. > > The flag is optional and backwards compatible, previous sspi revisions > would simply ignore the flag (checked back to 2011.03).
i think the flag is misleading. "sspi.w" makes it sound like it'd call the SPI layer with a NULL read buffer and not simply omit the output. what you describe is more like a "quiet" flag. along these lines, doesnt the general shell provide basic output redirection to support "silencing" all commands rather than having to add a "quiet" flag to them all ? then your script could simply do "sspi ... >/dev/null" (or however u-boot does it). -mike _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot