Re: [PATCH u-boot v4 24/36] ARM: fix LTO for apf27

2021-05-24 Thread Tom Rini
On Thu, May 20, 2021 at 01:24:13PM +0200, Marek Behún wrote: > When apf27_defconfig is built with LTO, linking complains about > undefined reference to `nand_boot`. This is because it is referenced > from inline assembly. Make it visible. > > Signed-off-by: Marek Behún Applied to

[PATCH u-boot v4 24/36] ARM: fix LTO for apf27

2021-05-20 Thread Marek Behún
When apf27_defconfig is built with LTO, linking complains about undefined reference to `nand_boot`. This is because it is referenced from inline assembly. Make it visible. Signed-off-by: Marek Behún --- drivers/mtd/nand/raw/mxc_nand_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)