From: Peng Fan <peng.fan@nxp.com>
Date: Sat, 7 May 2022 13:23:05 +0000 (+0800)
Subject: boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN
X-Git-Tag: v2025.01-rc5-pxa1908~1353^2~25^2~24
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=3800b318c5303633f056bc6ab387ef01906cee57;p=u-boot.git

boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN

CONFIG_SYS_BOOTM_LEN is not used in this file, drop it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

diff --git a/boot/image-pre-load.c b/boot/image-pre-load.c
index 78d89069a9..5ab9ae1874 100644
--- a/boot/image-pre-load.c
+++ b/boot/image-pre-load.c
@@ -23,11 +23,6 @@ DECLARE_GLOBAL_DATA_PTR;
 #define IMAGE_PRE_LOAD_PROP_PUBLIC_KEY		"public-key"
 #define IMAGE_PRE_LOAD_PROP_MANDATORY		"mandatory"
 
-#ifndef CONFIG_SYS_BOOTM_LEN
-/* use 8MByte as default max gunzip size */
-#define CONFIG_SYS_BOOTM_LEN	0x800000
-#endif
-
 /*
  * Information in the device-tree about the signature in the header
  */