
On Wednesday 07 December 2011 14:56:30 Mike Partington wrote:
As I understand it, one of the main purposes of standalone applications is to enable proprietary code to be run with U-Boot. In order to realize this objective, however, the code cannot be forced to include anything that is GPL-encumbered. Note that spi.h does not meet this criteria. So, either spi.h needs to be changed, or the spi interfaces need to be added to exports.h in a way that does not require any additional typedefs or structures from other files. I'm not sure which path is best, but my preference would be to keep the interface between standalone applications and U-Boot as clean and well-defined as possible. To me this means as few files as possible.
in general, i don't think your statement here is correct. the U-Boot license explicitly provides an exception for using the exported API.
also, please don't top post -mike