Re: [PATCH u-boot v4 23/36] ARM: fix LTO for imx28_xea

2021-05-24 Thread Tom Rini
On Thu, May 20, 2021 at 01:24:12PM +0200, Marek Behún wrote: > When imx28_xea_defconfig is built with LTO, the compiler complains about > the two different declarations of _start: >include/asm-generic/sections.has extern void _start(void); >arch/arm/cpu/arm926ejs/mxs/mxs.c as extern

[PATCH u-boot v4 23/36] ARM: fix LTO for imx28_xea

2021-05-20 Thread Marek Behún
When imx28_xea_defconfig is built with LTO, the compiler complains about the two different declarations of _start: include/asm-generic/sections.has extern void _start(void); arch/arm/cpu/arm926ejs/mxs/mxs.c as extern uint32_t _start; Fix this. Signed-off-by: Marek Behún Reviewed-by: