
Hi Stefan,
On Wed, Aug 05, 2015 at 10:05:10AM +0200, Stefan Roese wrote:
How about this patch:
diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index 29db838..345930f 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@ -28,6 +28,13 @@
#include "tqma6_bb.h"
+#ifndef CONFIG_SF_DEFAULT_BUS +#define CONFIG_SF_DEFAULT_BUS 0 +#endif +#ifndef CONFIG_SF_DEFAULT_CS +#define CONFIG_SF_DEFAULT_CS 0 +#endif
Does this work for you?
This should work, but wouldn't it be cleaner to just exclude the SPI parts? Why add 7 LOC when 4 LOC are enough to exclude the SPI parts? Besides that, it reduces the binary size.
Then we could also remove the empty SPI function from all board files, if SPI is not used.
Thanks, Stefan
Regards, Clemens