From ee0140a678a0955d0883bebcc87e7e2a42eca800 Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Wed, 25 Mar 2015 15:34:45 +0000
Subject: [PATCH] brcm63xx: hcsimage: respect load address

Respect the vmlinux load address when generating images.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44983
---
 target/linux/brcm63xx/image/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 1913feb646..47756bf39b 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -119,7 +119,8 @@ define Image/Build/HCSDTB
 	# Generate the image
 	$(STAGING_DIR_HOST)/bin/hcsmakeimage --magic_byte=$(4) \
 		--rev_maj=$(5) --rev_min=$(6) --input_file=$(KDIR)/$(7) \
-		--output_file=$(BIN_DIR)/openwrt-$(2)-$(1).bin
+		--output_file=$(BIN_DIR)/openwrt-$(2)-$(1).bin \
+		--ldaddress=$(LOADADDR)
 endef
 
 define Image/Build/ChkDTB
-- 
GitLab