[Letux-kernel] Letux U-Boot 2016.11 for GTA04

H. Nikolaus Schaller hns at goldelico.com
Wed Jan 11 08:18:29 CET 2017


Hi Andreas,

> Am 10.01.2017 um 22:21 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> the latest U-Boot does not compile at all.
> 
> d7fe583dd3dfc308791fa1147baddedeb6025570
> 
> breaks it:
> 
> In file included from board/goldelico/letux-gta04-b2/gta04b2.c:10:0:
> board/goldelico/letux-gta04-b2/gta04b2.c: In function ‘muxinit’:
> board/goldelico/letux-gta04-b2/gta04b2.h:24:20: error: ‘devicetree’
> undeclared (first use in this function) muxname="GTA04B2",
> devicetree="omap3-gta04", peripheral="+b2"; ^
> board/goldelico/letux-gta04-b2/gta04b2.c:17:2: note: in expansion of
> macro ‘MUX_EXPANDER_B2’ MUX_EXPANDER_B2();
>  ^
> board/goldelico/letux-gta04-b2/gta04b2.h:24:20: note: each undeclared
> identifier is reported only once for each function it appears in
> muxname="GTA04B2", devicetree="omap3-gta04", peripheral="+b2"; ^
> board/goldelico/letux-gta04-b2/gta04b2.c:17:2: note: in expansion of
> macro ‘MUX_EXPANDER_B2’ MUX_EXPANDER_B2();
>  ^
> board/goldelico/letux-gta04-b2/gta04b2.h:24:44: warning: left-hand
> operand of comma expression has no effect [-Wunused-value]
> muxname="GTA04B2", devicetree="omap3-gta04", peripheral="+b2"; ^
> board/goldelico/letux-gta04-b2/gta04b2.c:17:2: note: in expansion of
> macro ‘MUX_EXPANDER_B2’ MUX_EXPANDER_B2();
>  ^
> scripts/Makefile.build:280: recipe for target
> 'board/goldelico/letux-gta04-b2/gta04b2.o' failed make[1]: ***
> [board/goldelico/letux-gta04-b2/gta04b2.o] Error 1 Makefile:1230:
> recipe for target 'board/goldelico/letux-gta04-b2' failed make: ***
> [board/goldelico/letux-gta04-b2] Error 2
> 
> 
> hmm, the devicetree member is removed in gta04.h ... but I am not really
> sure wether it is enough to just remove it here also? board detection?

Yes, it has been simplified. But I did it only in the base variant gta04.c

A fix has been pushed. Now all my boards compile and the gta04b2/Letux 3704
should as well :)

BR,
Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170111/7eb10261/attachment.asc>


More information about the Letux-kernel mailing list