mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
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>
This commit is contained in:
parent
d26bfa73ed
commit
77c17f4354
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
void back_to_bootrom(void)
|
void back_to_bootrom(void)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_SPL_LIBGENERIC_SUPPORT) && !defined(CONFIG_TPL_BUILD)
|
#if defined(CONFIG_SPL_LIBCOMMON_SUPPORT) && !defined(CONFIG_TPL_BUILD)
|
||||||
printf("Returning to boot ROM...");
|
puts("Returning to boot ROM...");
|
||||||
#endif
|
#endif
|
||||||
_back_to_bootrom_s();
|
_back_to_bootrom_s();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue