ARM: stm32: Use firmware property instead of loadables
authorMichal Simek <michal.simek@xilinx.com>
Mon, 5 Oct 2020 09:37:00 +0000 (11:37 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 13 Jan 2021 08:52:58 +0000 (09:52 +0100)
There shouldn't be a need to use loadables propertyn because u-boot can be
pointed by firmware property. This change should also speedup boot process
because loadables property is list of strings which code is going through.
On the other hand firmware can just point to one image.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its
board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its

index ba48786..8eed9d0 100644 (file)
                config-1 {
                        /* DT+SoM+board model */
                        description = "dh,stm32mp15xx-dhcom-pdk2_somrev0_boardrev0";
-                       loadables = "uboot";
+                       firmware = "uboot";
                        fdt = "fdt-1";
                };
 
                config-2 {
                        /* DT+SoM+board model */
                        description = "dh,stm32mp15xx-dhcom-pdk2_somrev1_boardrev0";
-                       loadables = "uboot";
+                       firmware = "uboot";
                        fdt = "fdt-1";
                };
 
                config-3 {
                        /* DT+SoM+board model */
                        description = "dh,stm32mp15xx-dhcom-drc02_somrev0_boardrev0";
-                       loadables = "uboot";
+                       firmware = "uboot";
                        fdt = "fdt-2";
                };
 
                config-4 {
                        /* DT+SoM+board model */
                        description = "dh,stm32mp15xx-dhcom-drc02_somrev1_boardrev0";
-                       loadables = "uboot";
+                       firmware = "uboot";
                        fdt = "fdt-2";
                };
 
index 7419684..0ea10a1 100644 (file)
@@ -31,7 +31,7 @@
                config-1 {
                        /* DT+SoM+board model */
                        description = "arrow,stm32mp15xx-avenger96_somrev0_boardrev1";
-                       loadables = "uboot";
+                       firmware = "uboot";
                        fdt = "fdt-1";
                };