bmips: loader-lzma: drop unused RAMSIZE parameter
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 2 Mar 2023 17:32:29 +0000 (18:32 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 2 Mar 2023 19:37:56 +0000 (20:37 +0100)
This parameter has never been used.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/image/Makefile

index 86ab68d2443be5687f5a36b417d3c5adaee2c919..af2fd98d1fa0ff832e452b6eba2006e9b9c1deea 100644 (file)
@@ -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)" "$@"