
Wolfgang,
wd@denx.de wrote on 11/01/2007 04:14:19 PM:
Then this is a bug in your board config file by using a preprocessor variable (CFG_XILINX_SPARTAN3) that is nowhere defined. Seems you need to include xilinx.h in your board config file.
Well, I thought of that and that was the first thing I tried. However, when I include xilinx.h in the board config, envcrc.c fails to build with the following message:
In file included from /home/builder/temp/u-boot/include/fpga.h:25 from /home/builder/temp/u-boot/include/xilinx.h:25 from /home/builder/temp/u-boot/include/configs/sel3530.h:46 from /home/builder/temp/u-boot/include/config.h from envcrc.c:32: /usr/include/linux/types.h:133: error: syntax error before '__le16' /usr/include/linux/types.h:134: error: syntax error before '__be16' /usr/include/linux/types.h:135: error: syntax error before '__le32' /usr/include/linux/types.h:136: error: syntax error before '__be32' /usr/include/linux/types.h:140: error: syntax error before '__le64' /usr/include/linux/types.h:141: error: syntax error before '__be64'
I gather from your comments that this is not expected and I should be able to include files in my config file? I ask because all the other config files I've looked at don't have includes in them.
Bruce