Author: hauke Date: 2015-11-20 22:15:48 +0100 (Fri, 20 Nov 2015) New Revision: 47533
Added: trunk/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch Modified: trunk/package/boot/uboot-mxs/patches/001-add-i2se-duckbill.patch Log: uboot-mxs: fix build with gcc-5 gcc-5 handles inline without static differently and that makes uboot-mxs fail to build. Remove the inline so it gets exported and can be used in other functions. Signed-off-by: Hauke Mehrtens <[email protected]> Modified: trunk/package/boot/uboot-mxs/patches/001-add-i2se-duckbill.patch =================================================================== --- trunk/package/boot/uboot-mxs/patches/001-add-i2se-duckbill.patch 2015-11-20 05:21:19 UTC (rev 47532) +++ trunk/package/boot/uboot-mxs/patches/001-add-i2se-duckbill.patch 2015-11-20 21:15:48 UTC (rev 47533) @@ -23,8 +23,6 @@ create mode 100644 configs/duckbill_defconfig create mode 100644 include/configs/duckbill.h -diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index 9908b43..7c795ac 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -178,6 +178,11 @@ config TARGET_MX28EVK @@ -39,7 +37,7 @@ config TARGET_MX23_OLINUXINO bool "Support mx23_olinuxino" select CPU_ARM926EJS -@@ -926,6 +931,7 @@ source "board/genesi/mx51_efikamx/Kconfig" +@@ -926,6 +931,7 @@ source "board/genesi/mx51_efikamx/Kconfi source "board/gumstix/pepper/Kconfig" source "board/h2200/Kconfig" source "board/hale/tt01/Kconfig" @@ -47,8 +45,6 @@ source "board/icpdas/lp8x4x/Kconfig" source "board/imx31_phycore/Kconfig" source "board/isee/igep0033/Kconfig" -diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h -index 5afe791..330a88d 100644 --- a/arch/arm/include/asm/mach-types.h +++ b/arch/arm/include/asm/mach-types.h @@ -1109,6 +1109,7 @@ extern unsigned int __machine_arch_type; @@ -78,9 +74,6 @@ /* * These have not yet been registered */ -diff --git a/board/i2se/duckbill/Kconfig b/board/i2se/duckbill/Kconfig -new file mode 100644 -index 0000000..98c1e46 --- /dev/null +++ b/board/i2se/duckbill/Kconfig @@ -0,0 +1,15 @@ @@ -99,9 +92,6 @@ + default "duckbill" + +endif -diff --git a/board/i2se/duckbill/MAINTAINERS b/board/i2se/duckbill/MAINTAINERS -new file mode 100644 -index 0000000..5496baa --- /dev/null +++ b/board/i2se/duckbill/MAINTAINERS @@ -0,0 +1,6 @@ @@ -111,9 +101,6 @@ +F: board/i2se/duckbill/ +F: include/configs/duckbill.h +F: configs/duckbill_defconfig -diff --git a/board/i2se/duckbill/Makefile b/board/i2se/duckbill/Makefile -new file mode 100644 -index 0000000..b5577e3 --- /dev/null +++ b/board/i2se/duckbill/Makefile @@ -0,0 +1,12 @@ @@ -129,9 +116,6 @@ +else +obj-y := iomux.o +endif -diff --git a/board/i2se/duckbill/duckbill.c b/board/i2se/duckbill/duckbill.c -new file mode 100644 -index 0000000..7794f65 --- /dev/null +++ b/board/i2se/duckbill/duckbill.c @@ -0,0 +1,112 @@ @@ -247,9 +231,6 @@ + + return 0; +} -diff --git a/board/i2se/duckbill/iomux.c b/board/i2se/duckbill/iomux.c -new file mode 100644 -index 0000000..538e138 --- /dev/null +++ b/board/i2se/duckbill/iomux.c @@ -0,0 +1,125 @@ @@ -378,9 +359,6 @@ +{ + mxs_common_spl_init(arg, resptr, iomux_setup, ARRAY_SIZE(iomux_setup)); +} -diff --git a/configs/duckbill_defconfig b/configs/duckbill_defconfig -new file mode 100644 -index 0000000..2edf895 --- /dev/null +++ b/configs/duckbill_defconfig @@ -0,0 +1,9 @@ @@ -393,9 +371,6 @@ +# CONFIG_SPI_FLASH is not set +# CONFIG_CMD_FPGA is not set +CONFIG_CMD_PING=y -diff --git a/include/configs/duckbill.h b/include/configs/duckbill.h -new file mode 100644 -index 0000000..46e403b --- /dev/null +++ b/include/configs/duckbill.h @@ -0,0 +1,177 @@ @@ -576,6 +551,3 @@ +#include <configs/mxs.h> + +#endif /* __CONFIGS_DUCKBILL_H__ */ --- -1.7.10.4 - Added: trunk/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch =================================================================== --- trunk/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch (rev 0) +++ trunk/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch 2015-11-20 21:15:48 UTC (rev 47533) @@ -0,0 +1,11 @@ +--- a/arch/arm/cpu/arm926ejs/mxs/mxs.c ++++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c +@@ -24,7 +24,7 @@ + DECLARE_GLOBAL_DATA_PTR; + + /* Lowlevel init isn't used on i.MX28, so just have a dummy here */ +-inline void lowlevel_init(void) {} ++void lowlevel_init(void) {} + + void reset_cpu(ulong ignored) __attribute__((noreturn)); + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
