[PATCH 2/2] tbs2910: add custom CONFIG_OF_REMOVE_PROPS list to defconfig

Anatolij Gustschin agust at denx.de
Wed Jan 8 22:38:33 CET 2020


This shrinks the image size: all -1536.0 bss +16.0 text -1552.0

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
NOTE: building with this patch only works when patch [1] is applied.

[1] http://patchwork.ozlabs.org/patch/1219944

 configs/tbs2910_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index a42f53e849..12f3a5dc24 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -46,6 +46,7 @@ CONFIG_EFI_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="imx6q-tbs2910"
+CONFIG_OF_REMOVE_PROPS="dmas dma-names interrupt-parent interrupts interrupts-extended interrupt-names interrupt-map interrupt-map-mask"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
-- 
2.17.1



More information about the U-Boot mailing list