mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
c0f1ebe9c1
Add a new entry argument to the fit entry which allows selection of the default configuration to use. This is the 'default' property in the 'configurations' node. Update the Makefile to pass in the value of DEVICE_TREE or CONFIG_DEFAULT_DEVICE_TREE to provide this information. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Michal Simek <michal.simek@xilinx.com>
55 lines
879 B
Text
55 lines
879 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
binman {
|
|
u-boot {
|
|
};
|
|
fit {
|
|
description = "test-desc";
|
|
#address-cells = <1>;
|
|
fit,fdt-list = "of-list";
|
|
|
|
images {
|
|
kernel {
|
|
description = "Vanilla Linux kernel";
|
|
type = "kernel";
|
|
arch = "ppc";
|
|
os = "linux";
|
|
compression = "gzip";
|
|
load = <00000000>;
|
|
entry = <00000000>;
|
|
hash-1 {
|
|
algo = "crc32";
|
|
};
|
|
hash-2 {
|
|
algo = "sha1";
|
|
};
|
|
u-boot {
|
|
};
|
|
};
|
|
@fdt-SEQ {
|
|
description = "fdt-NAME.dtb";
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "@config-DEFAULT-SEQ";
|
|
@config-SEQ {
|
|
description = "conf-NAME.dtb";
|
|
firmware = "uboot";
|
|
loadables = "atf";
|
|
fdt = "fdt-SEQ";
|
|
};
|
|
};
|
|
};
|
|
u-boot-nodtb {
|
|
};
|
|
};
|
|
};
|