configs/stm32mp157*: switch to use TF-A based configurations
authorShlomi Vaknin <shlomi.39sd@gmail.com>
Wed, 7 Oct 2020 14:49:43 +0000 (17:49 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 13 Oct 2020 21:04:03 +0000 (23:04 +0200)
commit4d15114713c9f20a6901ec156c8ae73f0cf3739d
treebaff8db2566021250512622ce517f38362561aeb
parent5d277d20cc4e98d5571beb1d62e92c8c229a80e7
configs/stm32mp157*: switch to use TF-A based configurations

This commit changes the stm32mp1 configurations to use the TF-A ->
U-Boot boot flow (called "trusted boot flow" by ST) instead of the
U-Boot SPL -> U-Boot boot flow. ST recommands this trusted boot, and
it's also the only one that allows to use the STM32 Cube Programmer
for reflashing devices.

As part of this, the genimage configuration file is now generated, as
it contains some file names that depend on the platform. Removing
partition-type from genimage.cfg is mandatory, since it would cause a
hybrid MBR partition table to be created, which itself would prevent
ATF from finding the ssbl parition.

Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/stmicroelectronics/common/stm32mp157/genimage.cfg [deleted file]
board/stmicroelectronics/common/stm32mp157/genimage.cfg.template [new file with mode: 0644]
board/stmicroelectronics/common/stm32mp157/post-image.sh [new file with mode: 0755]
configs/stm32mp157a_dk1_defconfig
configs/stm32mp157c_dk2_defconfig