On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.be...@nic.cz> wrote: > > When imx28_xea_defconfig is built with LTO, the compiler complains about > the two different declarations of _start: > include/asm-generic/sections.h as extern void _start(void); > arch/arm/cpu/arm926ejs/mxs/mxs.c as extern uint32_t _start; > > Fix this. > > Signed-off-by: Marek Behún <marek.be...@nic.cz> > --- > arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 +- > arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>