Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
6db11196
Commit
6db11196
authored
3 years ago
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
3 years ago
Browse files
Options
Download
Plain Diff
Merge "refactor(plat/st): check boot device only for BL2" into integration
parents
a8b7a175
d3b0e870
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/st/stm32mp1/platform.mk
+13
-6
plat/st/stm32mp1/platform.mk
with
13 additions
and
6 deletions
+13
-6
plat/st/stm32mp1/platform.mk
View file @
6db11196
...
...
@@ -44,11 +44,6 @@ STM32MP_SPI_NAND ?= 0
STM32MP_SPI_NOR
?=
0
STM32MP_EMMC_BOOT
?=
0
ifeq
($(filter 1,${STM32MP_EMMC} ${STM32MP_SDMMC} ${STM32MP_RAW_NAND} \
${STM32MP_SPI_NAND}
${STM32MP_SPI_NOR}),)
$(error
"No boot device driver is enabled"
)
endif
# Device tree
DTB_FILE_NAME
?=
stm32mp157c-ev1.dtb
FDT_SOURCES
:=
$(
addprefix
fdts/,
$(
patsubst
%.dtb,%.dts,
$(DTB_FILE_NAME)
))
...
...
@@ -199,13 +194,25 @@ BL2_SOURCES += lib/optee/optee_utils.c
endif
# Compilation rules
.PHONY
:
check_dtc_version stm32image clean_stm32image
.PHONY
:
check_dtc_version stm32image clean_stm32image
check_boot_device
.SUFFIXES
:
all
:
check_dtc_version stm32image ${STM32_TF_STM32}
distclean realclean clean
:
clean_stm32image
bl2
:
check_boot_device
check_boot_device
:
@
if
[
${STM32MP_EMMC}
!=
1
]
&&
\
[
${STM32MP_SDMMC}
!=
1
]
&&
\
[
${STM32MP_RAW_NAND}
!=
1
]
&&
\
[
${STM32MP_SPI_NAND}
!=
1
]
&&
\
[
${STM32MP_SPI_NOR}
!=
1
]
;
then
\
echo
"No boot device driver is enabled"
;
\
false
;
\
fi
stm32image
:
${STM32IMAGE}
${STM32IMAGE}
:
${STM32IMAGE_SRC}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help