]> git.baikalelectronics.ru Git - uboot.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)
commit8c7a5b08034b32f20800ae20ee9fddb935bd1f29
treed9da2af8a98d1d8d1a3b002baab73be25c4375d2
parentf7ed39dc0659383bc738996e23f69f7135c62aa6
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