summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/bootrom.c
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2017-07-24 17:52:01 +0800
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-27 14:59:04 +0200
commit77c17f43543735a6b8e74e49793320ae82b25d6d (patch)
tree49f3256077e63785fc7ed096172175c34f1a608a /arch/arm/mach-rockchip/bootrom.c
parentd26bfa73ed7bebfab81d6b4160883f026db58c76 (diff)
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 <andy.yan@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/arm/mach-rockchip/bootrom.c')
-rw-r--r--arch/arm/mach-rockchip/bootrom.c4
1 files changed, 2 insertions, 2 deletions
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();
}