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

Anatolij Gustschin agust at denx.de
Sun Jan 12 15:57:43 CET 2020


This shrinks the image size: all -3840.0 text -3840.0

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
Changes in v2:
 - add CONFIG_OF_DTB_PROPS_REMOVE=y
 - update commit description
 - gitlab CI results:
   https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/1842

NOTE: building with this patch only works when patch [1] is applied.

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

 configs/tbs2910_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index a42f53e849..9ac78d78b4 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -46,6 +46,8 @@ CONFIG_EFI_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="imx6q-tbs2910"
+CONFIG_OF_DTB_PROPS_REMOVE=y
+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