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>
This commit is contained in:
Marek Vasut 2018-04-13 15:51:13 +02:00 committed by Marek Vasut
parent ec7113fbb4
commit 98a100e9a3
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -98,4 +98,3 @@ CONFIG_DM_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_STORAGE=y
CONFIG_TPL_TINY_MEMSET=y

View File

@ -98,4 +98,3 @@ CONFIG_DM_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_STORAGE=y
CONFIG_TPL_TINY_MEMSET=y