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:
parent
ec7113fbb4
commit
98a100e9a3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user