Re: [U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Angelo Dureghello
Dear Lukasz, Hi Angelo, You aren't the first person who attempted to fix this. i read the history of the fixes done on this file before posting, and seen the issue was solved using a "switch / case" approach. I was testing yesterday the kernel.org x86 toolchain for m68k, (m68k/gcc-4.6.3-nolibc

Re: [U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Lukasz Majewski
Hi Angelo, > Compiler still complains about headersz possible uninitialized, > even after last change (switch used). > > CROSS_COMPILE=/opt/toolchains/m68k/gcc-4.6.3-nolibc/m68k-linux/ > bin/m68k-linux- ./MAKEALL -a m68k > boards.cfg is up to date. Nothing to do. > Building M52277EVB board... >

[U-Boot] [PATCH] tools/kwbimage.c: fix build on m68k

2014-12-03 Thread Angelo Dureghello
Compiler still complains about headersz possible uninitialized, even after last change (switch used). CROSS_COMPILE=/opt/toolchains/m68k/gcc-4.6.3-nolibc/m68k-linux/ bin/m68k-linux- ./MAKEALL -a m68k boards.cfg is up to date. Nothing to do. Building M52277EVB board... textdata bss d