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

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


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/05603df730a5f9c24f433bf6ecf4dc1088e5fe23

commit 05603df730a5f9c24f433bf6ecf4dc1088e5fe23
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Thu Mar 2 18:00:40 2023 +0100

    bcm63xx: 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/bcm63xx/image/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/target/linux/bcm63xx/image/Makefile b/target/linux/bcm63xx/image/Makefile
index 9137971fa5..45b526878d 100644
--- a/target/linux/bcm63xx/image/Makefile
+++ b/target/linux/bcm63xx/image/Makefile
@@ -8,8 +8,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
 
 RELOCATE_MAKEOPTS= \
 		CACHELINE_SIZE=16 \
@@ -37,7 +36,6 @@ define Build/loader-lzma
 		KDIR=$(KDIR) \
 		LOADER_ADDR=$(if $(DEVICE_LOADADDR),$(DEVICE_LOADADDR),$(LOADER_ENTRY)) \
 		KERNEL_ADDR=$(KERNEL_LOADADDR) \
-		RAMSIZE=$(RAMSIZE) \
 		LZMA_TEXT_START=$(LZMA_TEXT_START) \
 		CHIP_ID=$(CHIP_ID) \
 		PKG_BUILD_DIR="$@.src" \




More information about the lede-commits mailing list