
Hi Tom,
On Tue, 2 Oct 2012 15:33:10 -0700, Tom Rini trini@ti.com wrote:
On Tue, Oct 02, 2012 at 04:45:24PM -0600, dinguyen@altera.com wrote:
From: Dinh Nguyen dinguyen@altera.com
Add minimal support for Altera's SOCFPGA Cyclone 5 hardware.
Signed-off-by: Dinh Nguyen dinguyen@altera.com Signed-off-by: Chin Liang See clsee@altera.com Signed-off-by: Pavel Machek pavel@denx.de Reviewed-by: Marek Vasut marex@denx.de Cc: Tom Trini trini@ti.com Cc: Wolfgang Denx wd@denx.de Cc: Albert Aribaud albert.u.boot@aribaud.net Cc: Stefan Roese sr@denx.de
Acked-by: Tom Rini trini@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@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,