0002-board-tbs2910-disable-CONFIG_GZIP.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From b3e5d2937972a4385ff665366253244b25f0c0a2 Mon Sep 17 00:00:00 2001
  2. From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  3. Date: Sat, 30 May 2020 05:24:20 +0200
  4. Subject: [PATCH 2/6] board: tbs2910: disable CONFIG_GZIP
  5. As that the resulting image is already very close to the
  6. size limit, and that CONFIG_GZIP is not strictly required,
  7. removing it shouldn't hurt.
  8. With arm-linux-gnueabi-gcc 9.2.0-1 from the Parabola
  9. GNU/Linux distribution we have the following size
  10. reduction:
  11. - text: 9752
  12. - data: 0
  13. - bss: 16
  14. - total: 9768
  15. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  16. Acked-by: Soeren Moch <smoch@web.de>
  17. ---
  18. configs/tbs2910_defconfig | 1 +
  19. 1 file changed, 1 insertion(+)
  20. diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
  21. index 2623eb73cd..cc459e6de6 100644
  22. --- a/configs/tbs2910_defconfig
  23. +++ b/configs/tbs2910_defconfig
  24. @@ -88,5 +88,6 @@ CONFIG_USB_GADGET_DOWNLOAD=y
  25. CONFIG_I2C_EDID=y
  26. CONFIG_VIDEO_IPUV3=y
  27. CONFIG_VIDEO=y
  28. +# CONFIG_GZIP is not set
  29. CONFIG_OF_LIBFDT_ASSUME_MASK=0xff
  30. # CONFIG_EFI_LOADER is not set
  31. --
  32. 2.27.0