]> git.sur5r.net Git - u-boot/commit
rockchip: back-to-bootrom: simplify the #ifdef-check for LIBCOMMON in TPL/SPL
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 29 Jun 2017 09:28:15 +0000 (11:28 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:19 +0000 (17:12 +0200)
commit19b68fb280e8304c9c78c179ec40fdcfee793754
tree135a31e189e3983a3b4861a38f8149306afd67e2
parentee14d29db0f49785867f26902540f65d3a1d62eb
rockchip: back-to-bootrom: simplify the #ifdef-check for LIBCOMMON in TPL/SPL

With the finer-grained control over LIBCOMMON_SUPPORT for TPL/SPL (i.e.
with the newly introduced distinction between TPL_LIBCOMMON_SUPPORT and
SPL_LIBCOMMON_SUPPORT), we can simplify the #ifdef-check to simply use
CONFIG_IS_ENABELD.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[fixed up to use 'puts' and LIBCOMMON:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-rockchip/bootrom.c