| #
eaaf26e3 |
| 09-Oct-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I93de2db1,I880f88b1,I02e2fc75,I48908413,Ie7de9a9f, ... into integration
* changes: feat(st-ddr): add STM32MP2 driver refactor(st-ddr): create generic services refactor(st-ddr): r
Merge changes I93de2db1,I880f88b1,I02e2fc75,I48908413,Ie7de9a9f, ... into integration
* changes: feat(st-ddr): add STM32MP2 driver refactor(st-ddr): create generic services refactor(st-ddr): remove name from stm32mp_ddr_reg_desc refactor(st-ddr): add definition for timeouts and delays feat(st): add stm32mp_is_wakeup_from_standby() feat(stm32mp2): add RETRAM map/unmap capability feat(stm32mp2): add helper to get DDRDBG base address feat(stm32mp2): handle DDR power supplies feat(stm32mp1): handle DDR power supplies
show more ...
|
| #
87cd847c |
| 24-Nov-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(st): add stm32mp_is_wakeup_from_standby()
This function is used to know if this is a return from Standby mode, and the DDR was in self-refresh, allowing a correct return to OS. They just return
feat(st): add stm32mp_is_wakeup_from_standby()
This function is used to know if this is a return from Standby mode, and the DDR was in self-refresh, allowing a correct return to OS. They just return false for the moment.
Change-Id: Ie7de9a9f6477f8158e144f6626070a77fdc53ceb Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| #
4e9b4980 |
| 10-Jul-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "refactor(st): change suffix for SYSCFG functions" into integration
|
| #
4b1826c8 |
| 16-Jan-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
refactor(st): change suffix for SYSCFG functions
This patch replaces the suffix "stm32mp1_" in the SYSCFG drivers with "stm32mp_". By using a common suffix for function names, we can avoid issues or
refactor(st): change suffix for SYSCFG functions
This patch replaces the suffix "stm32mp1_" in the SYSCFG drivers with "stm32mp_". By using a common suffix for function names, we can avoid issues or platform compilation flags when a driver needs to access SYSCFG across different platforms.
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: I24407852c085abd843ef4cdef235c022a5e57a85
show more ...
|
| #
620a3ddb |
| 18-Jun-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "st-fwu-common" into integration
* changes: refactor(st): move FWU support to common code refactor(st): move FWU functions to common code
|
| #
b91c7f5e |
| 05-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move FWU functions to common code
Move the platforms functions used for Firmware update in plat/st/common directory. The function stm32mp1_fwu_set_boot_idx() is renamed stm32_fwu_set_b
refactor(st): move FWU functions to common code
Move the platforms functions used for Firmware update in plat/st/common directory. The function stm32mp1_fwu_set_boot_idx() is renamed stm32_fwu_set_boot_idx() to align with other ones. A new function stm32_get_bkpr_fwu_info_addr() is created to get the backup register address where to store FWU info (counter and partition index).
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I64916c7992782ceeaaf990026756ca4134d93c88
show more ...
|
| #
aba58349 |
| 17-Jun-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "st_gpio_update" into integration
* changes: fix(st-gpio): configure each GPIO mux as secure for STM32MP2 feat(st-gpio): add set GPIO config API fix(stm32mp1): remove
Merge changes from topic "st_gpio_update" into integration
* changes: fix(st-gpio): configure each GPIO mux as secure for STM32MP2 feat(st-gpio): add set GPIO config API fix(stm32mp1): remove unnecessary assert on GPIO_BANK_A value refactor(st): use GPIO banks definition from bindings feat(dt-bindings): describe ST GPIO banks and config
show more ...
|
| #
5c457689 |
| 28-Nov-2023 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
fix(stm32mp1): remove unnecessary assert on GPIO_BANK_A value
Remove assert for unexpected value of the define GPIO_BANK_A.
This check is not required as GPIO_BANK_A = 0, it can be limited to have
fix(stm32mp1): remove unnecessary assert on GPIO_BANK_A value
Remove assert for unexpected value of the define GPIO_BANK_A.
This check is not required as GPIO_BANK_A = 0, it can be limited to have bank <= GPIO_BANK_K as bank is unsigned int.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I0345d56f106fcacd6a6f93281c2d9279980cd152
show more ...
|
| #
bd435c52 |
| 04-Mar-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "topics/fwu_metadata_v2_migration" into integration
* changes: style(fwu): change the metadata fields to align with specification style(partition): use GUID values for G
Merge changes from topic "topics/fwu_metadata_v2_migration" into integration
* changes: style(fwu): change the metadata fields to align with specification style(partition): use GUID values for GPT partition fields feat(st): add logic to boot the platform from an alternate bank feat(st): add a function to clear the FWU trial state counter feat(fwu): add a function to obtain an alternate FWU bank to boot feat(fwu): add some sanity checks for the FWU metadata feat(fwu): modify the check for getting the FWU bank's state feat(st): get the state of the active bank directly feat(fwu): add a config flag for including image info in the FWU metadata feat(fwu): migrate FWU metadata structure to version 2 feat(fwu): document the config flag for including image info in the FWU metadata feat(fwu): update the URL links for the FWU specification
show more ...
|
| #
6e99fee4 |
| 20-Feb-2024 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(st): add a function to clear the FWU trial state counter
Add an API stm32_clear_fwu_trial_boot_cnt() function to clear the trial state counter. This is called in the corner case scenario when t
feat(st): add a function to clear the FWU trial state counter
Add an API stm32_clear_fwu_trial_boot_cnt() function to clear the trial state counter. This is called in the corner case scenario when the active index is in an Invalid state, thus needing a reset of the trial state counter.
Change-Id: I2980135da88d0d947c222655c7958b51eb572d69 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
show more ...
|
| #
e6a0994c |
| 23-Jan-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "st-bsec-otp" into integration
* changes: feat(stm32mp2-fdts): add board ID OTP in STM32MP257F-EV1 feat(stm32mp2-fdts): add OTP nodes in STM32MP251 SoC DT file fix(stm
Merge changes from topic "st-bsec-otp" into integration
* changes: feat(stm32mp2-fdts): add board ID OTP in STM32MP257F-EV1 feat(stm32mp2-fdts): add OTP nodes in STM32MP251 SoC DT file fix(stm32mp2): add missing include feat(st): do not directly call BSEC functions in common code feat(st): use stm32_get_otp_value_from_idx() in BL31 refactor(st): update test for closed chip refactor(st-bsec): improve BSEC driver refactor(st): use dashes for BSEC node names
show more ...
|
| #
9cd784db |
| 01-Feb-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st): update test for closed chip
The function stm32mp_is_closed_device() is replaced with stm32mp_check_closed_device(), which return an uint32_t, either STM32MP_CHIP_SEC_OPEN or STM32MP_CH
refactor(st): update test for closed chip
The function stm32mp_is_closed_device() is replaced with stm32mp_check_closed_device(), which return an uint32_t, either STM32MP_CHIP_SEC_OPEN or STM32MP_CHIP_SEC_CLOSED.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Ie0790cdc36c4b6522083bc1f0e7c38e8061e6adf
show more ...
|
| #
c2c3ca12 |
| 16-Jan-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "refactor_st_common" into integration
* changes: refactor(st): move board info in common code refactor(st): move GIC code to common directory refactor(st): move boot b
Merge changes from topic "refactor_st_common" into integration
* changes: refactor(st): move board info in common code refactor(st): move GIC code to common directory refactor(st): move boot backup register management
show more ...
|
| #
992dba08 |
| 04-Jan-2023 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move board info in common code
Create a function stm32_display_board_info() that will display ST board information, from a parameter taken from OTP fuse. The code is just moved from ST
refactor(st): move board info in common code
Create a function stm32_display_board_info() that will display ST board information, from a parameter taken from OTP fuse. The code is just moved from STM32MP1 part to common directory.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I9e12fe98b5aabc7791cf2c9d48a38fbf2b219f9e
show more ...
|
| #
d8da13e5 |
| 29-Jun-2022 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move boot backup register management
This backup register used to pass boot information to BL33, has the same mapping for ST platforms. Its management can then be moved to common direc
refactor(st): move boot backup register management
This backup register used to pass boot information to BL33, has the same mapping for ST platforms. Its management can then be moved to common directory.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ic873f099c1f87c6ba2825b4946365ae6a9687798
show more ...
|
| #
d6ce9907 |
| 09-Dec-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "fix_misra_st_platform" into integration
* changes: fix(stm32mp1): rework DWL buffer cache invalidation fix(stm32mp1): add const for strings in stm32mp_get_soc_name()
Merge changes from topic "fix_misra_st_platform" into integration
* changes: fix(stm32mp1): rework DWL buffer cache invalidation fix(stm32mp1): add const for strings in stm32mp_get_soc_name() fix(st): use Boolean type for tests fix(st): rework secure-status check in fdt_get_status() fix(st): use indices when counting GPIOs in DT fix(st): add U suffix for unsigned numbers fix(st): explicitly check operators precedence
show more ...
|
| #
d7f5bed9 |
| 24-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1): add const for strings in stm32mp_get_soc_name()
This corrects MISRA C2012-7.4: A string literal shall not be assigned to an object unless the object's type is "pointer to const-qualif
fix(stm32mp1): add const for strings in stm32mp_get_soc_name()
This corrects MISRA C2012-7.4: A string literal shall not be assigned to an object unless the object's type is "pointer to const-qualified char".
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0c9f483dce9abd32647d5f5e2df72047cdd376dd
show more ...
|
| #
56048fe2 |
| 18-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st): explicitly check operators precedence
This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit. This is done either by adding par
fix(st): explicitly check operators precedence
This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit. This is done either by adding parentheses, or by creating dedicated variables to ease readability.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I5e3f191ee38eca7ef634bd7542e615ab625271f6
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 ...
|
| #
6c152355 |
| 19-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "stm32mp13-updates" into integration
* changes: feat(stm32mp1): manage STM32MP13 rev.Y feat(stm32mp13-fdts): use STM32MP_DDR_S_SIZE in fw-config fix(stm32mp13-fdts): c
Merge changes from topic "stm32mp13-updates" into integration
* changes: feat(stm32mp1): manage STM32MP13 rev.Y feat(stm32mp13-fdts): use STM32MP_DDR_S_SIZE in fw-config fix(stm32mp13-fdts): cleanup DT files fix(stm32mp13-fdts): update SDMMC max frequency fix(stm32mp13-fdts): align sdmmc pins with kernel
show more ...
|
| #
a3f97f66 |
| 09-May-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(stm32mp1): manage STM32MP13 rev.Y
The new SoC version for STM32MP13 is the revision Y. The register SYSCFG_IDC is updated for this new version with the value 0x1003. The function stm32mp_get_so
feat(stm32mp1): manage STM32MP13 rev.Y
The new SoC version for STM32MP13 is the revision Y. The register SYSCFG_IDC is updated for this new version with the value 0x1003. The function stm32mp_get_soc_name() should also be updated to manage this new SoC revision.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I4f2fa5f1503f17db93d8413c79c2b7a18d279f9b
show more ...
|
| #
caca0e57 |
| 28-Jun-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "feat(stm32mp1): save boot auth status and partition info" into integration
|
| #
ab2b325c |
| 23-Jun-2022 |
Igor Opaniuk <igor.opaniuk@foundries.io> |
feat(stm32mp1): save boot auth status and partition info
Introduce a functionality for saving/restoring boot auth status and partition used for booting (FSBL partition on which the boot was successf
feat(stm32mp1): save boot auth status and partition info
Introduce a functionality for saving/restoring boot auth status and partition used for booting (FSBL partition on which the boot was successful).
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io> Change-Id: I4d7f153b70dfc49dad8c1c3fa71111a350caf1ee
show more ...
|
| #
60942bc9 |
| 07-Jun-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st-pinctrl" into integration
* changes: feat(stm32mp1-fdts): change pin-controller to pinctrl feat(st): search pinctrl node by compatible
|