| #
833e3c40 |
| 02-Oct-2025 |
Mark Dykes <mark.dykes@arm.com> |
Merge "fix: remove unused cpu_data related macros" into integration
|
| #
2c730eea |
| 12-Sep-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix: remove unused cpu_data related macros
There are no uses for CPU_DATA_PSCI_LOCK_OFFSET so it is removed.
PLAT_PCPU_DATA_SIZE is also unused in ST platforms and causes offsets to mismatch when t
fix: remove unused cpu_data related macros
There are no uses for CPU_DATA_PSCI_LOCK_OFFSET so it is removed.
PLAT_PCPU_DATA_SIZE is also unused in ST platforms and causes offsets to mismatch when the linker garbage collects it. It is also removed.
CPU_DATA_PLAT_PCPU_OFFSET is also removed as its only use is in rcar_lock_get() and related macros which are never called since all calls of these macros lack an argument.
Change-Id: I883ab58c56b4082e0e8b19a8d8f6186945bcc58e Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| #
b1428d92 |
| 08-Feb-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "stm32mp2-usb" into integration
* changes: feat(stm32mp2): add STM32MP_USB_PROGRAMMER compilation refactor(st): move macros to common folder refactor(stm32mp1): remove
Merge changes from topic "stm32mp2-usb" into integration
* changes: feat(stm32mp2): add STM32MP_USB_PROGRAMMER compilation refactor(st): move macros to common folder refactor(stm32mp1): remove unused macros fix(usb): add missing include
show more ...
|
| #
9883833c |
| 02-Feb-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move macros to common folder
As these definitions will be the same for STM32MP1 and STM32MP2, move PLATFORM_MTD_MAX_PAGE_SIZE and DWL_BUFFER_SIZE macro definition to the file: plat/st/
refactor(st): move macros to common folder
As these definitions will be the same for STM32MP1 and STM32MP2, move PLATFORM_MTD_MAX_PAGE_SIZE and DWL_BUFFER_SIZE macro definition to the file: plat/st/common/include/stm32mp_common.h
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I480669d009d15fec753298f47b136e34fa240132
show more ...
|
| #
8af83a44 |
| 02-Feb-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): remove unused macros
PLAT_STM32MP_NS_IMAGE_OFFSET and PLAT_EMMC_BOOT_SSBL_OFFSET macros should have been removed with patch [1].
[1] 981b9dcb87 ("refactor(stm32mp1): remove STM3
refactor(stm32mp1): remove unused macros
PLAT_STM32MP_NS_IMAGE_OFFSET and PLAT_EMMC_BOOT_SSBL_OFFSET macros should have been removed with patch [1].
[1] 981b9dcb87 ("refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE")
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ice98c43c0257041226525199be06134fde8466c5
show more ...
|
| #
cc933e1d |
| 15-Sep-2023 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "stm32mp2" into integration
* changes: feat(stm32mp2): generate stm32 file feat(stm32mp2-fdts): add stm32mp257f-ev1 board feat(stm32mp2-fdts): introduce stm32mp25 pinc
Merge changes from topic "stm32mp2" into integration
* changes: feat(stm32mp2): generate stm32 file feat(stm32mp2-fdts): add stm32mp257f-ev1 board feat(stm32mp2-fdts): introduce stm32mp25 pinctrl files feat(stm32mp2-fdts): introduce stm32mp25 SoCs family feat(stm32mp2): add console configuration feat(st): add RCC registers list feat(st-uart): add AARCH64 stm32_console driver feat(st): introduce new platform STM32MP2 feat(dt-bindings): add the STM32MP2 clock and reset bindings docs(changelog): add scopes for STM32MP2 feat(docs): introduce STM32MP2 doc refactor(docs): add a sub-menu for ST platforms refactor(st): move plat_image_load.c refactor(st): rename PLAT_NB_FIXED_REGS refactor(st): move some storage definitions to common part refactor(st): move SDMMC definitions to driver feat(st-clock): stub fdt_get_rcc_secure_state feat(st-clock): allow aarch64 compilation of STGEN functions feat(st): allow AARCH64 compilation for common code refactor(st): rename QSPI macros
show more ...
|
| #
b4939bef |
| 31-Aug-2023 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move some storage definitions to common part
Those storage macros are common to all STM32MPU chips, move them to plat/st/common/include/stm32mp_io_storage.h
Signed-off-by: Yann Gautie
refactor(st): move some storage definitions to common part
Those storage macros are common to all STM32MPU chips, move them to plat/st/common/include/stm32mp_io_storage.h
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Id20ec00ba65edf9ec7a3a89adfda307c954c3cb6
show more ...
|
| #
5fab71a7 |
| 14-Nov-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE" into integration
|
| #
981b9dcb |
| 14-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE
The code managing legacy boot (without FIP) that was under STM32MP_USE_STM32IMAGE flag is remove.
Change-Id: I04452453ed84567b0de39e900594a81526562
refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE
The code managing legacy boot (without FIP) that was under STM32MP_USE_STM32IMAGE flag is remove.
Change-Id: I04452453ed84567b0de39e900594a81526562259 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| #
e8f4ec1a |
| 03-Oct-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "st_uart_updates" into integration
* changes: feat(stm32mp1): add early console in SP_min feat(st): properly manage early console feat(st-uart): manage STM32MP_RECONFI
Merge changes from topic "st_uart_updates" into integration
* changes: feat(stm32mp1): add early console in SP_min feat(st): properly manage early console feat(st-uart): manage STM32MP_RECONFIGURE_CONSOLE docs(st): introduce STM32MP_RECONFIGURE_CONSOLE feat(st): add trace for early console fix(stm32mp1): enable crash console in FIQ handler feat(st-uart): add initialization with the device tree refactor(stm32mp1): move DT_UART_COMPAT in include file feat(stm32mp1): configure the serial boot load address fix(stm32mp1): update the FIP load address for serial boot refactor(st): configure baudrate for UART programmer refactor(st-uart): compute the over sampling dynamically
show more ...
|
| #
4b2f23e5 |
| 15-Mar-2022 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(stm32mp1): configure the serial boot load address
For product with 128MB DDR size, the OP-TEE is located at the end of the DDR and the FIP can't be loaded at the default location because it ove
feat(stm32mp1): configure the serial boot load address
For product with 128MB DDR size, the OP-TEE is located at the end of the DDR and the FIP can't be loaded at the default location because it overlap the OP-TEE final location. So the default value for DWL_BUFFER_BASE is invalid.
To avoid this conflict the serial boot load address = DWL_BUFFER_BASE can be modified with a configuration flags.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: Ie27b87c10c57fea5d4c6200ce4f624e775b9a080
show more ...
|
| #
32f2ca04 |
| 28-Feb-2022 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
fix(stm32mp1): update the FIP load address for serial boot
Update the FIP load address and size for serial boot to support product with a DDR size = 128MB 1/ Move the FIP location at the end of the
fix(stm32mp1): update the FIP load address for serial boot
Update the FIP load address and size for serial boot to support product with a DDR size = 128MB 1/ Move the FIP location at the end of the first 128MB 2/ Reduce the DWL_BUFFER_SIZE to 16MB, to be coherent with the value indicated in USB enumeration - for STM32MP13x: "@SSBL /0x03/1*16Me" - for STM32MP15x: "@Partition3 /0x03/1*16Me"
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: Id93bf00c64832c17426bfd78e060861275677ecc
show more ...
|
| #
222eb8c7 |
| 27-Jan-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "fwu-on-stm32mp1" into integration
* changes: feat(stm32mp1): add support for building the FWU feature feat(stm32mp1): add logic to pass the boot index to the Update Age
Merge changes from topic "fwu-on-stm32mp1" into integration
* changes: feat(stm32mp1): add support for building the FWU feature feat(stm32mp1): add logic to pass the boot index to the Update Agent feat(stm32mp1): add support for reading the metadata partition feat(stm32mp1): add logic to select the images to be booted feat(stm32mp1): add GUID's for identifying firmware images to be booted feat(stm32mp1): add GUID values for updatable images feat(fwu): add platform hook for getting the boot index feat(fwu): simplify the assert to check for fwu init feat(fwu): add a function to pass metadata structure to platforms feat(partition): add a function to identify a partition by GUID feat(partition): copy the partition GUID into the partition structure feat(partition): make provision to store partition GUID value feat(partition): cleanup partition and gpt headers feat(fwu): add basic definitions for GUID handling feat(fwu): pass a const metadata structure to platform routines build(changelog): add a valid scope for partition code
show more ...
|
| #
0ca180f6 |
| 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add support for reading the metadata partition
Add support for reading the FWU metadata partition. The metadata partition stores information on the current active bank along with inf
feat(stm32mp1): add support for reading the metadata partition
Add support for reading the FWU metadata partition. The metadata partition stores information on the current active bank along with information on all the FWU updatable images on the platform. This information is then used to identify the image to be booted.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I66bc5ac718c21a49c504e698b5b1f5c4daed2d08
show more ...
|
| #
97c91147 |
| 13-Jan-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_mapping_update" into integration
* changes: feat(stm32mp1): enable BL2_IN_XIP_MEM to remove relocation sections refactor(stm32mp1): reduce MMU memory regions and spl
Merge changes from topic "st_mapping_update" into integration
* changes: feat(stm32mp1): enable BL2_IN_XIP_MEM to remove relocation sections refactor(stm32mp1): reduce MMU memory regions and split XLAT by context feat(st): map 2MB for ROM code fix(stm32mp1): restrict DEVICE2 mapping in BL2
show more ...
|
| #
d958d10e |
| 15-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(stm32mp1): enable BL2_IN_XIP_MEM to remove relocation sections
Because the BL2 is not relocated, the usage of BL2_IN_XIP_MEM can be used. It reduces the binary size by removing all relocation s
feat(stm32mp1): enable BL2_IN_XIP_MEM to remove relocation sections
Because the BL2 is not relocated, the usage of BL2_IN_XIP_MEM can be used. It reduces the binary size by removing all relocation sections. XIP will not be used when STM32MP_USE_STM32IMAGE is defined. Introduce new definitions for SEPARATE_CODE_AND_RODATA.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Change-Id: Ifd76f14e5bc98990bf84e0bfd4ee0b4e49a9a293
show more ...
|
| #
4fcbbb33 |
| 29-Oct-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_usb" into integration
* changes: feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target feat(plat/st/stm32mp1): add USB DFU support for STM32MP1 feat(plat/st):
Merge changes from topic "st_usb" into integration
* changes: feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target feat(plat/st/stm32mp1): add USB DFU support for STM32MP1 feat(plat/st): add STM32CubeProgrammer support on USB feat(drivers/st/usb): add device driver for STM32MP1 feat(plat/st): add a USB DFU stack feat(drivers/usb): add a USB device stack
show more ...
|
| #
fa92fef0 |
| 06-Jul-2021 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target
Add a support of USB as serial boot devices for STM32MP15x platform: the FIP file is provide by STM32CubeProgrammer with the DFU protocol, l
feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target
Add a support of USB as serial boot devices for STM32MP15x platform: the FIP file is provide by STM32CubeProgrammer with the DFU protocol, loaded in DDR at DWL_BUFFER_BASE address and then the io memmap is used.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I272c17c458ff1e9d0780f8fa22330c8a35533d19
show more ...
|
| #
6c7cc938 |
| 09-Sep-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge changes from topic "st_fip_fconf" into integration
* changes: feat(plat/st): use FIP to load images refactor(plat/st): updates for OP-TEE feat(lib/optee): introduce optee_header_is_valid
Merge changes from topic "st_fip_fconf" into integration
* changes: feat(plat/st): use FIP to load images refactor(plat/st): updates for OP-TEE feat(lib/optee): introduce optee_header_is_valid()
show more ...
|
| #
1d204ee4 |
| 19-May-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(plat/st): use FIP to load images
BL2 still uses the STM32 header binary format to be loaded from ROM code. BL32 and BL33 and their respective device tree files are now put together in a FIP fil
feat(plat/st): use FIP to load images
BL2 still uses the STM32 header binary format to be loaded from ROM code. BL32 and BL33 and their respective device tree files are now put together in a FIP file. One DTB is created for each BL. To reduce their sizes, 2 new dtsi file are in charge of removing useless nodes for a given BL. This is done because BL2 and BL32 share the same device tree files base.
The previous way of booting is still available, the compilation flag STM32MP_USE_STM32IMAGE has to be set to 1 in the make command. Some files are duplicated and their names modified with _stm32_ to avoid too much switches in the code.
Change-Id: I1ffada0af58486d4cf6044511b51e56b52269817 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| #
b39a1308 |
| 07-Jun-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I85a87dc9,If75df769,I55b0c910 into integration
* changes: feat(plat/st): add STM32MP_EMMC_BOOT option feat(drivers/st): manage boot part in io_mmc feat(drivers/mmc): boot partiti
Merge changes I85a87dc9,If75df769,I55b0c910 into integration
* changes: feat(plat/st): add STM32MP_EMMC_BOOT option feat(drivers/st): manage boot part in io_mmc feat(drivers/mmc): boot partition read support
show more ...
|
| #
214c8a8d |
| 04-Jun-2021 |
Vyacheslav Yurkov <uvv.mail@gmail.com> |
feat(plat/st): add STM32MP_EMMC_BOOT option
Added a new STM32MP_EMMC_BOOT option, which is used to look for SSBL in the same eMMC boot partition TF-A booted from at a fixed 256k offset. In case STM3
feat(plat/st): add STM32MP_EMMC_BOOT option
Added a new STM32MP_EMMC_BOOT option, which is used to look for SSBL in the same eMMC boot partition TF-A booted from at a fixed 256k offset. In case STM32 image header is not found, the boot process rolls back to a GPT partition look-up scheme.
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Change-Id: I85a87dc9ae7f2b915ed8e584be80f4b3588efc48
show more ...
|
| #
a49babce |
| 03-Jun-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "stm32_bl2_io" into integration
* changes: refactor(plat/st): remove io_dummy code for OP-TEE refactor(plat/st): remove BL2 image loading refactor(plat/st): rename OP-
Merge changes from topic "stm32_bl2_io" into integration
* changes: refactor(plat/st): remove io_dummy code for OP-TEE refactor(plat/st): remove BL2 image loading refactor(plat/st): rename OP-TEE pager to core
show more ...
|
| #
06c3b100 |
| 19-May-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(plat/st): rename OP-TEE pager to core
OPTEE_PAGER defines are renamed OPTEE_CORE.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I4c28d3b0a6ed843088a3ef06e3e348ce689fabde
|
| #
08e7cc53 |
| 29-Apr-2021 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I15e7cc43,Id7411bd5,I92bafe70,I8f1c0658 into integration
* changes: stm32mp1: enable PIE for BL32 stm32mp1: set BL sizes regardless of flags Add PIE support for AARCH32 Avoid t
Merge changes I15e7cc43,Id7411bd5,I92bafe70,I8f1c0658 into integration
* changes: stm32mp1: enable PIE for BL32 stm32mp1: set BL sizes regardless of flags Add PIE support for AARCH32 Avoid the use of linker *_SIZE__ macros
show more ...
|