]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT
authorChris Webb <chris@arachsys.com>
Fri, 19 Jul 2019 13:23:55 +0000 (14:23 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 22 Jul 2019 13:52:59 +0000 (21:52 +0800)
commitae835c56d38ef5f607531b5cb0b3a69ab52b8116
tree1e079c1d2a6673f1f4c72378da32dda501160631
parent6cdc7ed43a280dfebaca95addf793450121c2c26
rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT

The generic code in common/spl/spl.c allows TPL/SPL banners to be
silenced by unsetting CONFIG_TPL_BANNER_PRINT or CONFIG_SPL_BANNER_PRINT
respectively. However, arch/arm/mach-rockchip/tpl.c prints this banner
unconditionally.

Fix the rockchip-specific tpl.c so that the TPL banner depends on
CONFIG_TPL_BANNER_PRINT in the same way as the generic code.

Signed-off-by: <chris@arachsys.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
arch/arm/mach-rockchip/tpl.c