Message ID | 20200112145743.2125-2-agust@denx.de |
---|---|
State | Accepted |
Commit | d1b04cd3aa9c3cc741df24a5536c84b1d54cbda6 |
Headers | show |
Series | [v2,1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS | expand |
On 12.01.20 15:57, Anatolij Gustschin wrote: > This shrinks the image size: all -3840.0 text -3840.0 > > Signed-off-by: Anatolij Gustschin <agust at denx.de> Acked-by: Soeren Moch <smoch at web.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
On Sun, Jan 12, 2020 at 03:57:43PM +0100, Anatolij Gustschin wrote: > This shrinks the image size: all -3840.0 text -3840.0 > > Signed-off-by: Anatolij Gustschin <agust at denx.de> > Acked-by: Soeren Moch <smoch at web.de> Applied to u-boot/master, thanks!
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
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(+)