Re: [U-Boot] [PATCH] common/lcd: fix eldk 4.2 compile warning

2012-10-24 Thread Andreas Bießmann
Dear Marek Vasut, On 24.10.2012 00:09, Marek Vasut wrote: Dear Andreas Bießmann, [..] yes, I am. This patch is runtime tested on an at91sam9263ek. I first tried to consolidate the cmap and just use the ushort as in the else path. But unfortunately this require some more rework of this

Re: [U-Boot] [PATCH] common/lcd: fix eldk 4.2 compile warning

2012-10-23 Thread Marek Vasut
Dear Andreas Bießmann, This fixes following warning only generated with eldk-4.2: ---8--- lcd.c: In function 'bitmap_plot': lcd.c:527: warning: dereferencing type-punned pointer will break strict-aliasing rules ---8--- Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc:

Re: [U-Boot] [PATCH] common/lcd: fix eldk 4.2 compile warning

2012-10-23 Thread Andreas Bießmann
Dear Marek Vasut, On 23.10.2012 14:14, Marek Vasut wrote: Dear Andreas Bießmann, This fixes following warning only generated with eldk-4.2: ---8--- lcd.c: In function 'bitmap_plot': lcd.c:527: warning: dereferencing type-punned pointer will break strict-aliasing rules ---8---

Re: [U-Boot] [PATCH] common/lcd: fix eldk 4.2 compile warning

2012-10-23 Thread Marek Vasut
Dear Andreas Bießmann, [..] yes, I am. This patch is runtime tested on an at91sam9263ek. I first tried to consolidate the cmap and just use the ushort as in the else path. But unfortunately this require some more rework of this driver. Can you do such rework? You're the atmel guy