mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
riscv: binman: fix the load field format
Using /bits/ 64 prefix for 64 bits address Signed-off-by: Randolph <randolph@andestech.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d1b24a6140
commit
866dcd88a0
1 changed files with 4 additions and 10 deletions
|
@ -5,9 +5,6 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#define U64_TO_U32_H(addr) (((addr) >> 32) & 0xffffffff)
|
|
||||||
#define U64_TO_U32_L(addr) ((addr) & 0xffffffff)
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
binman: binman {
|
binman: binman {
|
||||||
multiple-images;
|
multiple-images;
|
||||||
|
@ -36,8 +33,7 @@
|
||||||
os = "U-Boot";
|
os = "U-Boot";
|
||||||
arch = "riscv";
|
arch = "riscv";
|
||||||
compression = "none";
|
compression = "none";
|
||||||
load = <U64_TO_U32_H(CONFIG_TEXT_BASE)
|
load = /bits/ 64 <CONFIG_TEXT_BASE>;
|
||||||
U64_TO_U32_L(CONFIG_TEXT_BASE)>;
|
|
||||||
|
|
||||||
uboot_blob: blob-ext {
|
uboot_blob: blob-ext {
|
||||||
filename = "u-boot-nodtb.bin";
|
filename = "u-boot-nodtb.bin";
|
||||||
|
@ -50,7 +46,7 @@
|
||||||
os = "Linux";
|
os = "Linux";
|
||||||
arch = "riscv";
|
arch = "riscv";
|
||||||
compression = "none";
|
compression = "none";
|
||||||
load = <CONFIG_TEXT_BASE>;
|
load = /bits/ 64 <CONFIG_TEXT_BASE>;
|
||||||
|
|
||||||
linux_blob: blob-ext {
|
linux_blob: blob-ext {
|
||||||
filename = "Image";
|
filename = "Image";
|
||||||
|
@ -64,10 +60,8 @@
|
||||||
os = "opensbi";
|
os = "opensbi";
|
||||||
arch = "riscv";
|
arch = "riscv";
|
||||||
compression = "none";
|
compression = "none";
|
||||||
load = <U64_TO_U32_H(CONFIG_SPL_OPENSBI_LOAD_ADDR)
|
load = /bits/ 64 <CONFIG_SPL_OPENSBI_LOAD_ADDR>;
|
||||||
U64_TO_U32_L(CONFIG_SPL_OPENSBI_LOAD_ADDR)>;
|
entry = /bits/ 64 <CONFIG_SPL_OPENSBI_LOAD_ADDR>;
|
||||||
entry = <U64_TO_U32_H(CONFIG_SPL_OPENSBI_LOAD_ADDR)
|
|
||||||
U64_TO_U32_L(CONFIG_SPL_OPENSBI_LOAD_ADDR)>;
|
|
||||||
|
|
||||||
opensbi_blob: opensbi {
|
opensbi_blob: opensbi {
|
||||||
filename = "fw_dynamic.bin";
|
filename = "fw_dynamic.bin";
|
||||||
|
|
Loading…
Reference in a new issue