summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch')
-rw-r--r--libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch b/libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch
new file mode 100644
index 000000000..a77cdae6d
--- /dev/null
+++ b/libre/uboot4extlinux-imx/0002-board-tbs2910-disable-CONFIG_GZIP.patch
@@ -0,0 +1,37 @@
+From b3e5d2937972a4385ff665366253244b25f0c0a2 Mon Sep 17 00:00:00 2001
+From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+Date: Sat, 30 May 2020 05:24:20 +0200
+Subject: [PATCH 2/6] board: tbs2910: disable CONFIG_GZIP
+
+As that the resulting image is already very close to the
+size limit, and that CONFIG_GZIP is not strictly required,
+removing it shouldn't hurt.
+
+With arm-linux-gnueabi-gcc 9.2.0-1 from the Parabola
+GNU/Linux distribution we have the following size
+reduction:
+- text: 9752
+- data: 0
+- bss: 16
+- total: 9768
+
+Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+Acked-by: Soeren Moch <smoch@web.de>
+---
+ configs/tbs2910_defconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
+index 2623eb73cd..cc459e6de6 100644
+--- a/configs/tbs2910_defconfig
++++ b/configs/tbs2910_defconfig
+@@ -88,5 +88,6 @@ CONFIG_USB_GADGET_DOWNLOAD=y
+ CONFIG_I2C_EDID=y
+ CONFIG_VIDEO_IPUV3=y
+ CONFIG_VIDEO=y
++# CONFIG_GZIP is not set
+ CONFIG_OF_LIBFDT_ASSUME_MASK=0xff
+ # CONFIG_EFI_LOADER is not set
+--
+2.27.0
+