Skip to content

Commit fd1832d

Browse files
Christophe PriouzeauBernardPuel
authored andcommitted
U-BOOT: v2023.10-stm32mp-r1
Change-Id: Ic24598b586631a0a3f7dae9b54b513ff87ad461a Signed-off-by: Christophe Priouzeau <[email protected]>
1 parent dc0f0ab commit fd1832d

20 files changed

+73537
-32992
lines changed

recipes-bsp/u-boot/u-boot-stm32mp-archiver.inc

Lines changed: 45 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,44 @@ archiver_create_makefile_for_sdk() {
1515
SRC_PATH ?= \$(PWD)
1616
BLD_PATH ?= \$(SRC_PATH)/../build
1717
DEPLOYDIR ?= \$(SRC_PATH)/../deploy
18+
FIPTOOLDIR ?= \$(SRC_PATH)/..
1819

1920
# Default U-Boot overall settings to null
2021
UBOOT_CONFIG ?=
2122
UBOOT_DEFCONFIG ?=
2223
UBOOT_BINARY ?=
2324
UBOOT_DEVICETREE ?=
2425

26+
# Set default FIP config
27+
FIP_CONFIG ?= ${@' '.join(d for d in '${FIP_CONFIG}'.split() if not 'fastboot-' in d)}
28+
2529
EOF
2630
if [ -n "${UBOOT_CONFIG}" ]; then
31+
# Initialize type suffix list
32+
type_suffix_list=""
2733
unset i j k
2834
for config in ${UBOOT_MACHINE}; do
2935
i=$(expr $i + 1);
36+
# Initialize devicetree list
37+
devicetree_internal=$(echo ${UBOOT_DEVICETREE_INTERNAL} | cut -d',' -f${i})
38+
devicetree_external=$(echo ${UBOOT_DEVICETREE_EXTERNAL} | cut -d',' -f${i})
3039
for type in ${UBOOT_CONFIG}; do
3140
j=$(expr $j + 1);
3241
if [ $j -eq $i ]; then
3342
for binary in ${UBOOT_BINARIES}; do
3443
k=$(expr $k + 1);
3544
if [ $k -eq $i ]; then
45+
# Skip any fastboot config
46+
echo ${type} | grep '^fastboot-' && continue
3647
type_suffix=$(echo ${type} | cut -d'_' -f1)
37-
type_filter=$(echo ${type} | cut -d'_' -f2)
38-
[ "${type_suffix}" = "${type_filter}" ] && type_filter=""
39-
if [ -z "${type_filter}" ]; then
40-
devicetree="${UBOOT_DEVICETREE}"
41-
else
42-
devicetree=""
43-
for dt in ${UBOOT_DEVICETREE}; do
44-
[ -z "$(echo ${dt} | grep ${type_filter})" ] || devicetree="${devicetree} ${dt}"
45-
done
46-
fi
48+
type_suffix_list="${type_suffix_list} ${type_suffix}"
4749
cat << EOF >> ${ARCHIVER_OUTDIR}/Makefile.sdk
4850
# Init default config settings
49-
UBOOT_CONFIGS += ${type_suffix}
50-
UBOOT_DEFCONFIG_$type_suffix += ${config}
51-
UBOOT_BINARY_$config ?= ${binary}
52-
UBOOT_DEVICETREE_$config ?= ${devicetree}
51+
UBOOT_BINARY_${config} ?= ${binary}
52+
UBOOT_DEVICETREE_INTERNAL_${config} ?= ${devicetree_internal}
53+
UBOOT_DEVICETREE_EXTERNAL_${config} ?= ${devicetree_external}
54+
UBOOT_DEVICETREE_${config} = \$(UBOOT_DEVICETREE_INTERNAL_${config}) \$(if \$(EXTDT_DIR),\$(UBOOT_DEVICETREE_EXTERNAL_${config}))
55+
UBOOT_DEFCONFIG_${type_suffix} += ${config}
5356
EOF
5457
fi
5558
done
@@ -59,6 +62,9 @@ EOF
5962
unset j
6063
done
6164
unset i
65+
cat << EOF >> ${ARCHIVER_OUTDIR}/Makefile.sdk
66+
UBOOT_CONFIGS = $(echo ${type_suffix_list} | tr ' ' '\n' | sort -u | tr '\n' ' ')
67+
EOF
6268
fi
6369
cat << EOF >> ${ARCHIVER_OUTDIR}/Makefile.sdk
6470

@@ -69,30 +75,35 @@ CPPFLAGS =
6975

7076
UBOOT_LOCALVERSION = ${UBOOT_LOCALVERSION}
7177

78+
# Define default external-dt options
79+
EXTERNAL_DT_OPTS = ${@bb.utils.contains('EXTERNAL_DT_ENABLED', '1', 'EXT_DTS=\$(EXTDT_DIR)/${EXTDT_DIR_UBOOT}', '', d)}
80+
7281
# Display U-Boot config details
7382
define uboot-configs
7483
echo " \$(1)" ; \\
7584
\$(foreach defconfig, \$(if \$(UBOOT_DEFCONFIG),\$(UBOOT_DEFCONFIG),\$(UBOOT_DEFCONFIG_\$(1))), \\
7685
echo " defconfig : \$(defconfig)" ; \\
7786
echo " for binary : \$(if \$(UBOOT_BINARY),\$(UBOOT_BINARY),\$(UBOOT_BINARY_\$(defconfig)))" ; \\
78-
echo " with devicetree: \$(if \$(DEVICETREE),\$(DEVICETREE),\$(UBOOT_DEVICETREE_\$(defconfig)))" ; \\
87+
echo " with devicetree: \$(if \$(DEVICE_TREE),\$(DEVICE_TREE),\$(UBOOT_DEVICETREE_\$(defconfig)))" ; \\
7988
)
8089
endef
8190

82-
# Configure U-Boot configure rules (configure-DEFCONFIG)
91+
# Configure U-Boot configure rules
92+
# configure-DEFCONFIG <defconfig> <config>
8393
define configure-rules
8494
configure-\$(1):: version
8595
@mkdir -p \$(BLD_PATH)/\$(1)
8696
@echo \$(UBOOT_LOCALVERSION) > \$(BLD_PATH)/\$(1)/.scmversion
8797
\$(MAKE) -C \$(SRC_PATH) O=\$(BLD_PATH)/\$(1) \$(1) || exit 1
8898
endef
8999

90-
# Configure U-Boot make rules (uboot-DEFCONFIG)
100+
# Configure U-Boot make rules
101+
# uboot-DEFCONFIG <defconfig> <config> <binary>
91102
define uboot-rules
92103
uboot-\$(1):: configure-\$(1)
93104
@mkdir -p \$(DEPLOYDIR)
94-
@\$(foreach dt, \$(if \$(DEVICETREE),\$(DEVICETREE),\$(UBOOT_DEVICETREE_\$(1))), \\
95-
\$(MAKE) -C \$(SRC_PATH) ${UBOOT_MAKE_TARGET} \\
105+
@\$(foreach dt, \$(if \$(DEVICE_TREE),\$(DEVICE_TREE),\$(UBOOT_DEVICETREE_\$(1))), \\
106+
\$(MAKE) -C \$(SRC_PATH) \$(EXTERNAL_DT_OPTS) \\
96107
O=\$(BLD_PATH)/\$(1) \\
97108
DEVICE_TREE=\$(dt) \\
98109
DEVICE_TREE_EXT=\$(dt).dtb || exit 1 ; \\
@@ -103,17 +114,18 @@ uboot-\$(1):: configure-\$(1)
103114
)
104115
endef
105116

106-
# Configure U-Boot deploy rules (deploy-DEFCONFIG)
117+
# Configure U-Boot deploy rules
118+
# deploy-DEFCONFIG <defconfig> <config> <binary>
107119
define deploy-rules
108120
deploy-\$(1):: uboot-\$(1)
109121
@mkdir -p \$(DEPLOYDIR)
110122
@mkdir -p \$(DEPLOYDIR)/debug
111-
@\$(foreach dt, \$(if \$(DEVICETREE),\$(DEVICETREE),\$(UBOOT_DEVICETREE_\$(1))), \\
123+
@\$(foreach dt, \$(if \$(DEVICE_TREE),\$(DEVICE_TREE),\$(UBOOT_DEVICETREE_\$(1))), \\
112124
if [ "\$(shell echo \$(3) | cut -d'.' -f2)" = "dtb" ]; then \\
113-
cp -f \$(BLD_PATH)/\$(1)/u-boot-nodtb.bin \$(DEPLOYDIR)/u-boot-nodtb\$(strip \$(foreach soc,${STM32MP_SOC_NAME},\$(if \$(findstring \$(soc),\$(dt)),-\$(soc),))).bin ; \\
125+
cp -f \$(BLD_PATH)/\$(1)/u-boot-nodtb.bin \$(DEPLOYDIR)/u-boot-nodtb\$(strip \$(foreach soc,${STM32MP_SOC_NAME},\$(if \$(findstring \$(soc),\$(dt)),-\$(soc),)))-\$(2).bin ; \\
114126
fi ; \\
115127
if [ -f \$(BLD_PATH)/\$(1)/${UBOOT_ELF} ]; then \\
116-
cp -f \$(BLD_PATH)/\$(1)/${UBOOT_ELF} \$(DEPLOYDIR)/debug/u-boot\$(strip \$(foreach soc,${STM32MP_SOC_NAME},\$(if \$(findstring \$(soc),\$(dt)),-\$(soc),))).${UBOOT_ELF_SUFFIX} ; \\
128+
cp -f \$(BLD_PATH)/\$(1)/${UBOOT_ELF} \$(DEPLOYDIR)/debug/u-boot\$(strip \$(foreach soc,${STM32MP_SOC_NAME},\$(if \$(findstring \$(soc),\$(dt)),-\$(soc),)))-\$(2).${UBOOT_ELF_SUFFIX} ; \\
117129
fi ; \\
118130
)
119131
endef
@@ -137,7 +149,7 @@ help:
137149
@echo "Note that each U-Boot configuration settings can be updated through overall or specific config var:"
138150
@echo " UBOOT_DEFCONFIG"
139151
@echo " UBOOT_BINARY"
140-
@echo " DEVICETREE"
152+
@echo " DEVICE_TREE"
141153
@echo
142154
@echo "U-Boot folder configuration:"
143155
@echo " SRC_PATH = \$(SRC_PATH)"
@@ -148,24 +160,26 @@ help:
148160
@echo " Do not forget to set FIP deploydir folders (such as FIP_DEPLOYDIR_ROOT) to provide path to needed binaries"
149161
@echo
150162
@echo "Available targets:"
151-
@echo " all : build U-Boot binaries for defined config(s)"
163+
@echo " all : build U-Boot binaries for defined config(s) + fip"
164+
@echo " uboot : build U-Boot binaries for defined config(s)"
152165
@echo " fip : build FIP binaries"
153166
@echo " clean : clean build directories from generated files"
154167

155168
all: \$(DEPS)
156169

170+
uboot: \$(deploy-targets)
171+
157172
clean:
158-
@for config in \$(UBOOT_CONFIGS); do \\
159-
uboot_type=\$\$(echo \$\$config | cut -d',' -f2) ; \\
160-
echo "Removing \$(BLD_PATH)/\$\$uboot_type ..." ; \\
161-
rm -rf \$(BLD_PATH)/\$\$uboot_type ; \\
162-
done
173+
@echo "Removing \$(BLD_PATH)/* ..."
174+
@rm -rf \$(BLD_PATH)/*
163175
@echo "Removing \$(DEPLOYDIR) ..."
164176
@rm -rf \$(DEPLOYDIR)
165177
@echo
166178

167179
fip: \$(deploy-targets)
168-
FIP_DEPLOYDIR_UBOOT=\$(DEPLOYDIR) FIP_DEVICETREE="\$(DEVICETREE)" fiptool-stm32mp
180+
for fipconfig in \$(FIP_CONFIG) ; do \\
181+
FIP_DEPLOYDIR_UBOOT=\$(DEPLOYDIR) FIP_CONFIG="\$\$fipconfig" \$(if \$(DEVICE_TREE),FIP_DEVICETREE="\$(DEVICE_TREE)") \$(FIPTOOLDIR)/fiptool-stm32mp || exit 1; \\
182+
done
169183

170184
version:
171185
@if test ! -e \$(SRC_PATH)/.scmversion ; then echo \$(UBOOT_LOCALVERSION) > \$(SRC_PATH)/.scmversion; fi

recipes-bsp/u-boot/u-boot-stm32mp-common_2022.10.inc renamed to recipes-bsp/u-boot/u-boot-stm32mp-common_2023.10.inc

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,15 @@ DEPENDS += "dtc-native bc-native"
1212
DEPENDS += "flex-native bison-native"
1313
DEPENDS += "python3-setuptools-native"
1414

15-
COMPATIBLE_MACHINE = "(stm32mpcommon)"
16-
1715
SRC_URI = "git://github.com/u-boot/u-boot.git;protocol=https;branch=master"
18-
SRCREV = "4debc57a3da6c3f4d3f89a637e99206f4cea0a96"
19-
20-
SRC_URI += " \
21-
file://0001-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-r1-MACHINE.patch \
22-
file://0002-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-r1-BOARD.patch \
23-
file://0003-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-r1-MISC-DRIVERS.patch \
24-
file://0004-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-r1-DEVICETREE.patch \
25-
file://0005-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-r1-CONFIG.patch \
26-
file://0006-${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-${U_BOOT_RELEASE}.patch \
27-
\
28-
file://0099-Add-external-var-to-allow-build-of-new-devicetree-fi.patch \
29-
"
16+
SRCREV = "4459ed60cb1e0562bc5b40405e2b4b9bbf766d57"
17+
18+
SRC_URI += "\
19+
file://0001-v2023.10-stm32mp-r1.patch \
20+
"
3021

3122
# debug and trace
32-
SRC_URI += "${@bb.utils.contains('ST_UBOOT_DEBUG_TRACE', '1', '', 'file://0098-silent_mode.patch', d)}"
23+
SRC_URI += " ${@bb.utils.contains('ST_UBOOT_DEBUG_TRACE', '1', '', 'file://0098-silent_mode.patch', d)} "
3324
SRC_URI += "${@bb.utils.contains('ST_UBOOT_DEBUG_TRACE', '1', '', 'file://fragment-01-silent_mode.cfg;subdir=fragments/features', d)}"
3425

3526
# optional config
@@ -38,9 +29,9 @@ SRC_URI += "${@bb.utils.contains('UBOOT_SIGN_ENABLE', '1', 'file://fragment-02-s
3829
# efi config
3930
SRC_URI += "${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'file://fragment-03-efi.cfg;subdir=fragments/features', '', d)}"
4031

41-
U_BOOT_VERSION = "v2022.10"
32+
U_BOOT_VERSION = "v2023.10"
4233
U_BOOT_SUBVERSION = "stm32mp"
43-
U_BOOT_RELEASE = "r1.1"
34+
U_BOOT_RELEASE = "r1"
4435

4536
PV = "${U_BOOT_VERSION}-${U_BOOT_SUBVERSION}-${U_BOOT_RELEASE}"
4637

@@ -57,7 +48,7 @@ S = "${WORKDIR}/git"
5748
BBCLASSEXTEND = "devupstream:target"
5849

5950
SRC_URI:class-devupstream = "git://github.com/STMicroelectronics/u-boot.git;protocol=https;branch=${ARCHIVER_ST_BRANCH}"
60-
SRCREV:class-devupstream = "2c7a6accfa78d34c402fa262bb53f0b952198882"
51+
SRCREV:class-devupstream = "96c47fdebde887c954f5aced90ac9e32b7787091"
6152

6253
# ---------------------------------
6354
# Configure default preference to manage dynamic selection between tarball and github
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# The format for u-boot configuration is: <conf-name>_<soc-name>
2+
# <conf-name>: used as U-Boot 'configuration name' in final U-Boot binaries
3+
# <soc-name> : used to filtered devicetree list to use
4+
5+
# -----------------------------------------------
6+
# Handle U-Boot config to set internal var:
7+
# UBOOT_DEVICETREE
8+
#
9+
python () {
10+
ubootdevicetreeflags = d.getVarFlags('UBOOT_DEVICETREE')
11+
# The "doc" varflag is special, we don't want to see it here
12+
ubootdevicetreeflags.pop('doc', None)
13+
ubootconfig = (d.getVar('UBOOT_CONFIG') or "").split()
14+
15+
if (d.getVar('UBOOT_DEVICETREE') or "").split():
16+
raise bb.parse.SkipRecipe("You cannot use UBOOT_DEVICETREE as it is internal for var expansion.")
17+
if (d.getVar('UBOOT_DEVICETREE_INTERNAL') or "").split():
18+
raise bb.parse.SkipRecipe("You cannot use UBOOT_DEVICETREE_INTERNAL as it is internal for var expansion.")
19+
if (d.getVar('UBOOT_DEVICETREE_EXTERNAL') or "").split():
20+
raise bb.parse.SkipRecipe("You cannot use UBOOT_DEVICETREE_EXTERNAL as it is internal for var expansion.")
21+
22+
if (d.getVar('EXTERNAL_DT_ENABLED') or "0") == "1":
23+
localdata = bb.data.createCopy(d)
24+
localdata.setVar('EXTERNAL_DT_ENABLED', '0')
25+
26+
if len(ubootconfig) > 0 and len(ubootdevicetreeflags) > 0:
27+
for config in ubootconfig:
28+
found = False
29+
for f, v in ubootdevicetreeflags.items():
30+
if config == f:
31+
found = True
32+
# Make sure to get var flag properly expanded
33+
v = d.getVarFlag('UBOOT_DEVICETREE', config)
34+
if not v.strip():
35+
bb.warn('[UBOOT_DEVICETREE] No devicetree configured for %s config' % config)
36+
d.appendVar('UBOOT_DEVICETREE', v + ',')
37+
38+
if (d.getVar('EXTERNAL_DT_ENABLED') or "0") == "1":
39+
internal_devicetree = localdata.getVarFlag('UBOOT_DEVICETREE', config)
40+
external_devicetree = ' '.join([dt for dt in v.split() if dt not in internal_devicetree.split()])
41+
else:
42+
internal_devicetree = v
43+
external_devicetree = ''
44+
d.appendVar('UBOOT_DEVICETREE_INTERNAL', internal_devicetree + ',')
45+
d.appendVar('UBOOT_DEVICETREE_EXTERNAL', external_devicetree + ',')
46+
47+
break
48+
49+
if not found:
50+
raise bb.parse.SkipRecipe("The selected UBOOT_CONFIG key %s has no match in UBOOT_DEVICETREE keys: %s." % (config, ubootdevicetreeflags.keys()))
51+
}
52+
53+
# -----------------------------------------------
54+
# Define U-Boot defconfig and binary to use for each UBOOT_CONFIG
55+
# UBOOT_CONFIG[config] ?= "<defconfig>,<fs-type images>,<binary to deploy>"
56+
#
57+
UBOOT_CONFIG[default_stm32mp15] ?= "stm32mp15_defconfig,,u-boot.dtb"
58+
UBOOT_CONFIG[default_stm32mp13] ?= "stm32mp13_defconfig,,u-boot.dtb"
59+
UBOOT_CONFIG[default_stm32mp21] ?= "stm32mp21_defconfig,,u-boot.dtb"
60+
UBOOT_CONFIG[default_stm32mp23] ?= "stm32mp23_defconfig,,u-boot.dtb"
61+
UBOOT_CONFIG[default_stm32mp25] ?= "stm32mp25_defconfig,,u-boot.dtb"
62+
UBOOT_CONFIG[programmer_stm32mp15] ?= "stm32mp15_defconfig,,u-boot.dtb"
63+
UBOOT_CONFIG[programmer_stm32mp13] ?= "stm32mp13_defconfig,,u-boot.dtb"
64+
UBOOT_CONFIG[programmer_stm32mp21] ?= "stm32mp21_defconfig,,u-boot.dtb"
65+
UBOOT_CONFIG[programmer_stm32mp23] ?= "stm32mp23_defconfig,,u-boot.dtb"
66+
UBOOT_CONFIG[programmer_stm32mp25] ?= "stm32mp25_defconfig,,u-boot.dtb"
67+
UBOOT_CONFIG[fastboot-sdcard_stm32mp15] ?= "stm32mp15-fastboot-sdcard_defconfig,,u-boot.dtb"
68+
UBOOT_CONFIG[fastboot-sdcard_stm32mp13] ?= "stm32mp13-fastboot-sdcard_defconfig,,u-boot.dtb"
69+
UBOOT_CONFIG[fastboot-sdcard_stm32mp21] ?= "stm32mp21-fastboot-sdcard_defconfig,,u-boot.dtb"
70+
UBOOT_CONFIG[fastboot-sdcard_stm32mp23] ?= "stm32mp23-fastboot-sdcard_defconfig,,u-boot.dtb"
71+
UBOOT_CONFIG[fastboot-sdcard_stm32mp25] ?= "stm32mp25-fastboot-sdcard_defconfig,,u-boot.dtb"
72+
UBOOT_CONFIG[fastboot-emmc_stm32mp15] ?= "stm32mp15-fastboot-emmc_defconfig,,u-boot.dtb"
73+
UBOOT_CONFIG[fastboot-emmc_stm32mp21] ?= "stm32mp21-fastboot-emmc_defconfig,,u-boot.dtb"
74+
UBOOT_CONFIG[fastboot-emmc_stm32mp23] ?= "stm32mp23-fastboot-emmc_defconfig,,u-boot.dtb"
75+
UBOOT_CONFIG[fastboot-emmc_stm32mp25] ?= "stm32mp25-fastboot-emmc_defconfig,,u-boot.dtb"
76+
77+
# -----------------------------------------------
78+
# Define U-Boot device tree to select for each U-Boot config
79+
#
80+
UBOOT_DEVICETREE[default_stm32mp15] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE}'.split() if 'stm32mp15' in dt)}"
81+
UBOOT_DEVICETREE[default_stm32mp13] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE}'.split() if 'stm32mp13' in dt)}"
82+
UBOOT_DEVICETREE[default_stm32mp21] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE}'.split() if 'stm32mp21' in dt)}"
83+
UBOOT_DEVICETREE[default_stm32mp23] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE}'.split() if 'stm32mp23' in dt)}"
84+
UBOOT_DEVICETREE[default_stm32mp25] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE}'.split() if 'stm32mp25' in dt)}"
85+
UBOOT_DEVICETREE[programmer_stm32mp15] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE_PROGRAMMER}'.split() if 'stm32mp15' in dt)}"
86+
UBOOT_DEVICETREE[programmer_stm32mp13] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE_PROGRAMMER}'.split() if 'stm32mp13' in dt)}"
87+
UBOOT_DEVICETREE[programmer_stm32mp21] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE_PROGRAMMER}'.split() if 'stm32mp21' in dt)}"
88+
UBOOT_DEVICETREE[programmer_stm32mp23] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE_PROGRAMMER}'.split() if 'stm32mp23' in dt)}"
89+
UBOOT_DEVICETREE[programmer_stm32mp25] ?= "${@' '.join(dt for dt in '${STM32MP_DEVICETREE_PROGRAMMER}'.split() if 'stm32mp25' in dt)}"
90+
UBOOT_DEVICETREE[fastboot-sdcard_stm32mp15] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_SDCARD}'.split() if 'stm32mp15' in dt)}"
91+
UBOOT_DEVICETREE[fastboot-sdcard_stm32mp13] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_SDCARD}'.split() if 'stm32mp13' in dt)}"
92+
UBOOT_DEVICETREE[fastboot-sdcard_stm32mp21] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_SDCARD}'.split() if 'stm32mp21' in dt)}"
93+
UBOOT_DEVICETREE[fastboot-sdcard_stm32mp23] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_SDCARD}'.split() if 'stm32mp23' in dt)}"
94+
UBOOT_DEVICETREE[fastboot-sdcard_stm32mp25] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_SDCARD}'.split() if 'stm32mp25' in dt)}"
95+
UBOOT_DEVICETREE[fastboot-emmc_stm32mp15] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_EMMC}'.split() if 'stm32mp15' in dt)}"
96+
UBOOT_DEVICETREE[fastboot-emmc_stm32mp21] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_EMMC}'.split() if 'stm32mp21' in dt)}"
97+
UBOOT_DEVICETREE[fastboot-emmc_stm32mp23] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_EMMC}'.split() if 'stm32mp23' in dt)}"
98+
UBOOT_DEVICETREE[fastboot-emmc_stm32mp25] ?= "${@' '.join(dt for dt in '${STM32MP_DT_FILES_EMMC}'.split() if 'stm32mp25' in dt)}"

0 commit comments

Comments
 (0)