]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: omap3: Cleanup sys_info to fit OMAP3 booting with LTO
authorAdam Ford <aford173@gmail.com>
Sat, 12 Feb 2022 12:12:40 +0000 (06:12 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 21 Feb 2022 13:35:40 +0000 (08:35 -0500)
commit1c6ea4da24c7481720b8eaee32532a7881863dc9
treec305f902accfd1b055e663461cf9b433fafa7cae
parentda6a8d9c28d0dd08b892bf6fa9f8596d1b8f7497
arm: omap3: Cleanup sys_info to fit OMAP3 booting with LTO

With LTO enabled, some functions appear to be optimized in a
way that causes hanging on some OMAP3 boards after some
unrelated patches were applied.  The solution appears to make
several functions __used.  There also appears be to be some
dead code, so remove it while cleaning this up.

This has been tested on a general purpose OMAP3530, DM3730,
and AM3517.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/include/asm/arch-omap3/sys_proto.h
arch/arm/mach-omap2/omap3/sys_info.c