I am porting U-Boot for a custom board that is very similar to the MPC8540ADS. Everything compiles fine, until I try to compile in DDR SDRAM ECC support. I tried compiling U-Boot for the MPC8540ADS and I get the same error once I define 'CONFIG_DDR_ECC'. Here is the output:
ppc_8xx-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xfff80000 -I/orss/gtvme/uboot/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/3.4.2/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float -DCONFIG_MPC85xx=1 -DCONFIG_MPC8540=1 -DCONFIG_E500=1 -c -o cpu/mpc85xx/start.o /orss/gtvme/uboot/u-boot-1.1.1/cpu/mpc85xx/start.S /orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h: Assembler messages: /orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:16: Error: Unrecognized opcode: `void' /orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:17: Error: Unrecognized opcode: `uint' /orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:18: Error: Unrecognized opcode: `int' make: *** [cpu/mpc85xx/start.o] Error 1 I am using the ppc_8xx- tools from ELDK 3.1. I would appreciate any help! Thanks, Jeff Stevens __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com