summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/platforms
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-03-02 12:03:56 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-03-05 18:27:07 +0100
commit3bce747e47170b219334f57102560a24cd67e6e0 (patch)
treeeba033c13b7822c3589e1b2ecca61cd5599e7d73 /configs/platform-v7a/platforms
parentf2ef6f09ce1af63587cebaea120bb0a102879843 (diff)
downloadDistroKit-3bce747e47170b219334f57102560a24cd67e6e0.tar.gz
DistroKit-3bce747e47170b219334f57102560a24cd67e6e0.tar.xz
v7a: add stm32mp157c-dk2 SD-Card image
Both STM32MP BootROM and TF-A expect the subsequent bootloader stage to come from a GPT partition when booting from SD-Card. Add a genimage config that describes this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/platforms')
-rw-r--r--configs/platform-v7a/platforms/blspec-stm32mp157c-dk2.in5
-rw-r--r--configs/platform-v7a/platforms/image-stm32mp157c-dk2.in11
2 files changed, 16 insertions, 0 deletions
diff --git a/configs/platform-v7a/platforms/blspec-stm32mp157c-dk2.in b/configs/platform-v7a/platforms/blspec-stm32mp157c-dk2.in
new file mode 100644
index 0000000..fc14295
--- /dev/null
+++ b/configs/platform-v7a/platforms/blspec-stm32mp157c-dk2.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_STM32MP157C_DK2
+ tristate
+ prompt "/loader/entries/stm32mp157c-dk2.conf bootloader spec entry"
diff --git a/configs/platform-v7a/platforms/image-stm32mp157c-dk2.in b/configs/platform-v7a/platforms/image-stm32mp157c-dk2.in
new file mode 100644
index 0000000..d7b9c23
--- /dev/null
+++ b/configs/platform-v7a/platforms/image-stm32mp157c-dk2.in
@@ -0,0 +1,11 @@
+## SECTION=image
+
+config IMAGE_STM32MP157C_DK2
+ tristate
+ select HOST_GENIMAGE
+ select IMAGE_ROOT_EXT
+ select BAREBOX_STM32MP
+ select TF_A
+ prompt "Generate images/stm32mp157c-dk2.hdimg"
+ help
+ Generate GPT image for the STM32MP157C-DK2