]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: zimage: Use correct symbol to hide messages in SPL
authorSamuel Holland <samuel@sholland.org>
Sat, 17 Apr 2021 14:34:37 +0000 (09:34 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 27 Apr 2021 12:05:30 +0000 (08:05 -0400)
commitc2343695e309f2176817dfa836dd42fc6cecc7a3
treed9da2af8a98d1d8d1a3b002baab73be25c4375d2
parentff8cb34d79384524ed81027f7d07a31f7405c27d
arm: zimage: Use correct symbol to hide messages in SPL

When zImage support was added to SPL, the messages were hidden to reduce
code size. However, the wrong config symbol was used. Since this file is
only built when CONFIG_SPL_FRAMEWORK=y, the messages were always hidden.

Use the correct symbol so the messages are printed in U-Boot proper.
Also use IS_ENABLED to drop the #ifdef.

Fixes: 431889d6ad9a ("spl: zImage support in Falcon mode")
Signed-off-by: Samuel Holland <samuel@sholland.org>
arch/arm/lib/zimage.c