[openwrt/openwrt] bmips: loader-lzma: drop unused RAMSIZE parameter

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 2 11:38:02 PST 2023


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/12a3c863d27d078766c84d5db170f0d7ba2d263a

commit 12a3c863d27d078766c84d5db170f0d7ba2d263a
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Thu Mar 2 18:32:29 2023 +0100

    bmips: loader-lzma: drop unused RAMSIZE parameter
    
    This parameter has never been used.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bmips/image/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/target/linux/bmips/image/Makefile b/target/linux/bmips/image/Makefile
index 86ab68d244..af2fd98d1f 100644
--- a/target/linux/bmips/image/Makefile
+++ b/target/linux/bmips/image/Makefile
@@ -5,8 +5,7 @@ include $(INCLUDE_DIR)/image.mk
 
 KERNEL_LOADADDR := 0x80010000		# RAM start + 64K
 LOADER_ENTRY := 0x80a00000		# RAM start + 10M, for relocate
-RAMSIZE := 0x02000000			# 32MB
-LZMA_TEXT_START := 0x81800000		# 32MB - 8MB
+LZMA_TEXT_START := 0x81800000		# RAM start + 24M
 
 DEVICE_VARS += CHIP_ID DEVICE_LOADADDR
 
@@ -32,7 +31,6 @@ define Build/loader-lzma
 		LOADER_NAME="$(notdir $@)" \
 		LZMA_TEXT_START=$(LZMA_TEXT_START) \
 		PKG_BUILD_DIR="$@.src" \
-		RAMSIZE=$(RAMSIZE) \
 		TARGET_DIR="$(dir $@)" \
 		compile loader.$(1)
 	@mv "$@.$(1)" "$@"




More information about the lede-commits mailing list