]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: fix LTO for apf27
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:13 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit28d476eada6b49fdbd331171c6a487466e709a66
tree89b9d62bd875ca3e6fc16cc951a2ac3b5bcaa6ab
parentb83120df7923eb572ab6d88505f234b6784a2b6b
ARM: fix LTO for apf27

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 <marek.behun@nic.cz>
drivers/mtd/nand/raw/mxc_nand_spl.c