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)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:13 +0000 (10:05 +0200)
commit2e1af1e3e765d53593ee54d1487cd51a7226ee30
tree32e5004b99307ade6354500d5e883aab42f1beed
parent4b37a83dc4a296eeaf77f8fb981728b76c1a440d
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