aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-13 15:51:13 +0200
committerMarek Vasut <marex@denx.de>2018-04-13 23:41:45 +0200
commit98a100e9a315a5eff42d4343e1e54ddac774bd3f (patch)
tree35fa7da3fbd9f5abec5c174a96e33c229a4d1fea /arch
parentec7113fbb4b066549ca470b51adc6f45c41e0eef (diff)
downloadu-boot-98a100e9a315a5eff42d4343e1e54ddac774bd3f.zip
u-boot-98a100e9a315a5eff42d4343e1e54ddac774bd3f.tar.gz
u-boot-98a100e9a315a5eff42d4343e1e54ddac774bd3f.tar.bz2
ARM: rmobile: Shrink the TPL
Shrink the TPL by using tiny printf and tiny memset by default. This removes the biggest symbol -- vsnprintf_internal -- from the TPL and reduces the text segment by about 2 kiB. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rmobile/Kconfig.324
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32
index 37e0cba..d5b00ef 100644
--- a/arch/arm/mach-rmobile/Kconfig.32
+++ b/arch/arm/mach-rmobile/Kconfig.32
@@ -73,6 +73,8 @@ config TARGET_PORTER
select SUPPORT_TPL
select SUPPORT_SPL
select SPL_DM if SPL
+ select USE_TINY_PRINTF
+ select TPL_TINY_MEMSET
config TARGET_STOUT
bool "Stout board"
@@ -81,6 +83,8 @@ config TARGET_STOUT
select SUPPORT_TPL
select SUPPORT_SPL
select SPL_DM if SPL
+ select USE_TINY_PRINTF
+ select TPL_TINY_MEMSET
endchoice