mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-04 20:03:20 +09:00
![Marek Vasut](/assets/img/avatar_default.png)
Include both PDK2 and DRC02 DTs in the DHCOM fitImage .its and implement support in SPL to select the correct configuration entry for U-Boot by using the machine compatible string from SPL DT. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
41 lines
741 B
Plaintext
41 lines
741 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
description = "U-Boot mainline";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot (32-bit)";
|
|
data = /incbin/("u-boot-nodtb.bin");
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "arm";
|
|
compression = "none";
|
|
load = <0xc0100000>;
|
|
entry = <0xc0100000>;
|
|
};
|
|
|
|
fdt-1 {
|
|
description = ".dtb";
|
|
data = /incbin/("arch/arm/dts/stm32mp15xx-dhcor-avenger96.dtb");
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "config-1";
|
|
|
|
config-1 {
|
|
/* DT+SoM+board model */
|
|
description = "arrow,stm32mp15xx-avenger96_somrev0_boardrev1";
|
|
loadables = "uboot";
|
|
fdt = "fdt-1";
|
|
};
|
|
|
|
/* Add 586-200..586-400 with fdt-2..fdt-4 here */
|
|
};
|
|
};
|