mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
984639039f
The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE and this makes it imposible to use CONFIG_VAL(). Rename it to resolve this problem. Signed-off-by: Simon Glass <sjg@chromium.org>
78 lines
1.3 KiB
Text
78 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
/ {
|
|
binman: binman {
|
|
multiple-images;
|
|
};
|
|
};
|
|
|
|
&binman {
|
|
itb {
|
|
filename = "u-boot.itb";
|
|
|
|
fit {
|
|
description = "Configuration to load OpenSBI before U-Boot";
|
|
#address-cells = <1>;
|
|
fit,fdt-list = "of-list";
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot";
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "riscv";
|
|
compression = "none";
|
|
load = <CONFIG_TEXT_BASE>;
|
|
|
|
uboot_blob: blob-ext {
|
|
filename = "u-boot-nodtb.bin";
|
|
};
|
|
};
|
|
|
|
opensbi {
|
|
description = "OpenSBI fw_dynamic Firmware";
|
|
type = "firmware";
|
|
os = "opensbi";
|
|
arch = "riscv";
|
|
compression = "none";
|
|
load = <CONFIG_SPL_OPENSBI_LOAD_ADDR>;
|
|
entry = <CONFIG_SPL_OPENSBI_LOAD_ADDR>;
|
|
|
|
opensbi_blob: opensbi {
|
|
filename = "fw_dynamic.bin";
|
|
};
|
|
};
|
|
|
|
#ifndef CONFIG_OF_BOARD
|
|
@fdt-SEQ {
|
|
description = "NAME";
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
};
|
|
#endif
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-1";
|
|
|
|
#ifndef CONFIG_OF_BOARD
|
|
@conf-SEQ {
|
|
#else
|
|
conf-1 {
|
|
#endif
|
|
description = "NAME";
|
|
firmware = "opensbi";
|
|
loadables = "uboot";
|
|
#ifndef CONFIG_OF_BOARD
|
|
fdt = "fdt-SEQ";
|
|
#endif
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|