[U-Boot] [PATCHv5] ARM: Add Altera SOCFPGA Cyclone5

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Oct 3 13:59:00 CEST 2012


Hi Tom,

On Tue, 2 Oct 2012 15:33:10 -0700, Tom Rini <trini at ti.com> wrote:

> On Tue, Oct 02, 2012 at 04:45:24PM -0600, dinguyen at altera.com wrote:
> 
> > From: Dinh Nguyen <dinguyen at altera.com>
> > 
> > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware.
> > 
> > Signed-off-by: Dinh Nguyen <dinguyen at altera.com>
> > Signed-off-by: Chin Liang See <clsee at altera.com>
> > Signed-off-by: Pavel Machek <pavel at denx.de>
> > Reviewed-by: Marek Vasut <marex at denx.de>
> > Cc: Tom Trini <trini at ti.com>
> > Cc: Wolfgang Denx <wd at denx.de>
> > Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> > Cc: Stefan Roese <sr at denx.de>
> 
> Acked-by: Tom Rini <trini at ti.com>
> 
> Albert, as I had promised that if they rebased on my SPL series and
> since it was close to after the merge window closed they could get this
> in, please take this for the next pull request (assuming you have no
> comments), thanks!

gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) gives:

albert at lilith:~/src/u-boot-arm$ LANG=C ./MAKEALL socfpga_cyclone5
Configuring for socfpga_cyclone5 board...
socfpga_cyclone5.c:26:6: error: expected identifier or '(' before 'do'
socfpga_cyclone5.c:26:6: error: expected identifier or '(' before 'while'
make[2]: *** [/home/albert/src/u-boot-arm/spl/board/altera/socfpga_cyclone5/socfpga_cyclone5.o] Error 1
make[1]: *** [/home/albert/src/u-boot-arm/spl/board/altera/socfpga_cyclone5/libsocfpga_cyclone5.o] Error 2
make: *** [spl/u-boot-spl.bin] Error 2
arm-linux-gnueabi-size: './u-boot': No such file
spl.c: In function 'board_init_f':
spl.c:45:38: warning: taking address of expression of type 'void' [enabled by default]
socfpga_cyclone5.c:26:6: error: expected identifier or '(' before 'do'
socfpga_cyclone5.c:26:6: error: expected identifier or '(' before 'while'
make[2]: *** [/home/albert/src/u-boot-arm/spl/board/altera/socfpga_cyclone5/socfpga_cyclone5.o] Error 1
make[1]: *** [/home/albert/src/u-boot-arm/spl/board/altera/socfpga_cyclone5/libsocfpga_cyclone5.o] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [spl/u-boot-spl.bin] Error 2
make: *** Waiting for unfinished jobs....

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( socfpga_cyclone5 )
----------------------------------------------------------

Seems there is an issue with the patch.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list