Hi all, I just tried compiling u-boot for the AmigaOneG3SE during testing of a code change and ran into a number of compiler warnings followed by a compiler error.
CONFIG_AMIGAONEG3SE is also found in a lot of common files: common/cmd_bootm.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifndef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_fdc.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3) common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifndef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3) common/cmd_ide.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3) common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c: !defined(CONFIG_AMIGAONEG3SE)&& \ common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_ide.c:#endif /* CONFIG_AMIGAONEG3SE */ common/cmd_nvedit.c:#ifdef CONFIG_AMIGAONEG3SE common/cmd_nvedit.c:#endif /* CONFIG_AMIGAONEG3SE */ common/console.c:#ifdef CONFIG_AMIGAONEG3SE common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE common/env_common.c:#ifdef CONFIG_AMIGAONEG3SE common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE common/env_nvram.c:#ifdef CONFIG_AMIGAONEG3SE common/main.c:#ifdef CONFIG_AMIGAONEG3SE cpu/74xx_7xx/cpu.c:#ifdef CONFIG_AMIGAONEG3SE cpu/74xx_7xx/cpu.c:#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SYS_CONFIG_BUS_CLK) cpu/74xx_7xx/cpu.c:#else /* ! CONFIG_AMIGAONEG3SE and !CONFIG_SYS_CONFIG_BUS_CLK*/ cpu/74xx_7xx/cpu.c:#endif /* CONFIG_AMIGAONEG3SE or CONFIG_SYS_CONFIG_BUS_CLK*/ cpu/74xx_7xx/interrupts.c:#if defined(DEBUG) && !defined(CONFIG_AMIGAONEG3SE) cpu/74xx_7xx/speed.c:#ifdef CONFIG_AMIGAONEG3SE cpu/74xx_7xx/start.S:#if defined(CONFIG_AMIGAONEG3SE) || \ cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE cpu/74xx_7xx/traps.c:#ifdef CONFIG_AMIGAONEG3SE drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE drivers/rtc/mc146818.c:#ifdef CONFIG_AMIGAONEG3SE drivers/rtc/mk48t59.c:#elif defined(CONFIG_AMIGAONEG3SE) include/asm-ppc/global_data.h:#ifdef CONFIG_AMIGAONEG3SE lib_ppc/board.c:#ifdef CONFIG_AMIGAONEG3SE Anyway, just wanted to drop a line that the build appears to be broken, and drop a hint that it would be great if someone (Thomas?) would clean up the Amiga #ifdefs that currently are litter a number of common files. Is the AmigaOne port being maintained? Does anyone use it? Can it be removed?:) It looks like someone else brought this up a while back: http://lists.denx.de/pipermail/u-boot/2006-January/013030.html Best, Peter _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot