Re: [PATCH 1/7] spl: guard u_boot_any with X86

2022-05-07 Thread Tom Rini
On Sat, May 07, 2022 at 05:21:36PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > set the symbol as weak not work if LTO is enabled. Since u_boot_any is > only used on X86 for now, so guard it with X86, otherwise build break > if we use BINMAN_SYMBOLS on i.MX. > > Signed-off-by: Peng Fan >

[PATCH 1/7] spl: guard u_boot_any with X86

2022-05-07 Thread Peng Fan (OSS)
From: Peng Fan set the symbol as weak not work if LTO is enabled. Since u_boot_any is only used on X86 for now, so guard it with X86, otherwise build break if we use BINMAN_SYMBOLS on i.MX. Signed-off-by: Peng Fan --- common/spl/spl.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(