[PATCH] boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN

Peng Fan (OSS) peng.fan at oss.nxp.com
Sat May 7 15:23:05 CEST 2022


From: Peng Fan <peng.fan at nxp.com>

CONFIG_SYS_BOOTM_LEN is not used in this file, drop it.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 boot/image-pre-load.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/boot/image-pre-load.c b/boot/image-pre-load.c
index 78d89069a98..5ab9ae18746 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
  */
-- 
2.36.0



More information about the U-Boot mailing list