summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYong-Xuan Wang <[email protected]>2023-10-26 03:22:52 +0000
committerLeo Yu-Chi Liang <[email protected]>2023-11-02 15:15:29 +0800
commit891a181cda56ce6f7ee05dec5051ea2bbe5a6c4c (patch)
treeded72c282b7db6bca3a29e666ef3e060fcd992a7 /include
parenta966634eda041311f1492139618dab143c863f81 (diff)
board: sifive: unmatched: move kernel load address to 0x80200000
U-boot initially loads the kernel image to the kernel_addr_r, and subsequently relocates it to memory address 0x80200000. Setting kernel_addr_r to 0x80200000 can eliminate one copy operation. Signed-off-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sifive-unmatched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h
index 74150b7d4b0..de8bfc1123b 100644
--- a/include/configs/sifive-unmatched.h
+++ b/include/configs/sifive-unmatched.h
@@ -36,7 +36,7 @@
"name=system,size=-,bootable,type=${type_guid_gpt_system};"
#define CFG_EXTRA_ENV_SETTINGS \
- "kernel_addr_r=0x84000000\0" \
+ "kernel_addr_r=0x80200000\0" \
"kernel_comp_addr_r=0x88000000\0" \
"kernel_comp_size=0x4000000\0" \
"fdt_addr_r=0x8c000000\0" \