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