From: Andy Yan Date: Mon, 24 Jul 2017 09:52:01 +0000 (+0800) Subject: rockchip: use puts instead of printf when back to bootrom X-Git-Tag: v2017.09-rc1~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=77c17f43543735a6b8e74e49793320ae82b25d6d;p=u-boot rockchip: use puts instead of printf when back to bootrom printf will increase the code size more than 1kb, but platform like rk3036 has no enough space for it. Signed-off-by: Andy Yan Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- diff --git a/arch/arm/mach-rockchip/bootrom.c b/arch/arm/mach-rockchip/bootrom.c index da36f92697..4ca9962310 100644 --- a/arch/arm/mach-rockchip/bootrom.c +++ b/arch/arm/mach-rockchip/bootrom.c @@ -9,8 +9,8 @@ void back_to_bootrom(void) { -#if defined(CONFIG_SPL_LIBGENERIC_SUPPORT) && !defined(CONFIG_TPL_BUILD) - printf("Returning to boot ROM..."); +#if defined(CONFIG_SPL_LIBCOMMON_SUPPORT) && !defined(CONFIG_TPL_BUILD) + puts("Returning to boot ROM..."); #endif _back_to_bootrom_s(); }