]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: rmobile: Shrink the TPL
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 13 Apr 2018 13:51:13 +0000 (15:51 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 13 Apr 2018 21:41:45 +0000 (23:41 +0200)
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>
arch/arm/mach-rmobile/Kconfig.32
configs/porter_defconfig
configs/stout_defconfig

index 37e0cbab79fa6577b8dbeedeaa803198bc208dd1..d5b00ef3796ac1e08ddda80b5218ce8caaf903de 100644 (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
 
index 3e0900e840124f90e30408d3bed537dc7270d3dc..3b79ac5e275d207546a47ff1fe35ce8820a57a22 100644 (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
index bc5c561c214adcb7458b7b5ed4d03fea88f99a22..a839f55ed7a6f935273d3b5ef98d35d2f2e69cb6 100644 (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