| fca10a8f | 12-Jan-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): manage HSLV on STM32MP13
On STM32MP13, the high speed mode for pads in low voltage is different from STM32MP15. Each peripheral supporting the feature has its own register. Special c
feat(stm32mp1): manage HSLV on STM32MP13
On STM32MP13, the high speed mode for pads in low voltage is different from STM32MP15. Each peripheral supporting the feature has its own register. Special care is taken for SDMMC peripherals. The HSLV mode is enabled only if the max voltage for the pads is lower or equal to 1.8V.
Change-Id: Id94d2cca17dd4aca4d764230a643b2bb9a5f3342 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 3331d363 | 20-Jan-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): add sdmmc compatible in platform define
Add DT_SDMMC2_COMPAT define in stm32mp1_def.h file in platform. It allows the use of the compatible in platform code.
Change-Id: I535ad67dd13
feat(stm32mp1): add sdmmc compatible in platform define
Add DT_SDMMC2_COMPAT define in stm32mp1_def.h file in platform. It allows the use of the compatible in platform code.
Change-Id: I535ad67dd133bab59cf81881adaef42d8e88632c Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 8e07ab5f | 17-Nov-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): update IO compensation on STM32MP13
On STM32MP13, two new SD1 and SD2 IO compensations cells are added, for SDMMC1 and SDMMC2. They have to be managed the same way as the main compen
feat(stm32mp1): update IO compensation on STM32MP13
On STM32MP13, two new SD1 and SD2 IO compensations cells are added, for SDMMC1 and SDMMC2. They have to be managed the same way as the main compensation cell.
Change-Id: Ib7aa648d65fc98e1613bfb46b0e7dd568fd21002 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| ffd1b889 | 18-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): call pmic_voltages_init() in platform init
The nominal voltage for VDDCPU when Cortex-A7 runs at 650MHz is 1.25V on STM32MP13. VDDCORE should be set at 1.25V as well. This is necessa
feat(stm32mp1): call pmic_voltages_init() in platform init
The nominal voltage for VDDCPU when Cortex-A7 runs at 650MHz is 1.25V on STM32MP13. VDDCORE should be set at 1.25V as well. This is necessary, as the PMIC values in its NVMEM are 1.2V.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I3c24fe4cd68c7bf143cf9318ab38a15d6d41b5d2
show more ...
|
| 1c37d0c1 | 26-Nov-2020 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
feat(stm32mp1): update CFG0 OTP for STM32MP13
This field is now declared on the 10 LSB bits on STM32MP13. Several possible values are specified in the Reference Manual, and indicate an open or close
feat(stm32mp1): update CFG0 OTP for STM32MP13
This field is now declared on the 10 LSB bits on STM32MP13. Several possible values are specified in the Reference Manual, and indicate an open or closed device. Other values lead to a system panic.
Change-Id: I697124a21db66a56e7e223d601aa7cf44bb183c4 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| d59b9d53 | 14-Sep-2020 |
Patrick Delaunay <patrick.delaunay@st.com> |
feat(stm32mp1): usb descriptor update for STM32MP13
Update USB and DFU descriptor used for STM32MP13x
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6e8111d279f49400a72baa12f
feat(stm32mp1): usb descriptor update for STM32MP13
Update USB and DFU descriptor used for STM32MP13x
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6e8111d279f49400a72baa12ff39f140d97e1c70
show more ...
|
| 9be88e75 | 11-Mar-2020 |
Gabriel Fernandez <gabriel.fernandez@st.com> |
feat(st-clock): add clock driver for STM32MP13
Add new clock driver for STM32MP13. Split the include file to manage either STM32MP13 or STM32MP15.
Change-Id: Ia568cd12b1d5538809204f0fd2224d51e5d1e9
feat(st-clock): add clock driver for STM32MP13
Add new clock driver for STM32MP13. Split the include file to manage either STM32MP13 or STM32MP15.
Change-Id: Ia568cd12b1d5538809204f0fd2224d51e5d1e985 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 6512c3a6 | 21-Apr-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): get CPU info from SYSCFG on STM32MP13
The IDC register from DBGMCU is duplicated in SYSCFG. As SYSCFG is always accessible, get chip ID and revision ID from there on STM32MP13.
Chan
feat(stm32mp1): get CPU info from SYSCFG on STM32MP13
The IDC register from DBGMCU is duplicated in SYSCFG. As SYSCFG is always accessible, get chip ID and revision ID from there on STM32MP13.
Change-Id: Ib0b6e8f68a2934a45ec0012f69db6c12a60adb17 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| b7d0058a | 21-Oct-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): use only one filter for TZC400 on STM32MP13
On STM32MP13, there is only 1 DDR port, hence only 1 TZC400 filter.
Change-Id: I4f6750022cdaf658cd209a4bf48a6cdb0717020e Signed-off-by: Y
feat(stm32mp1): use only one filter for TZC400 on STM32MP13
On STM32MP13, there is only 1 DDR port, hence only 1 TZC400 filter.
Change-Id: I4f6750022cdaf658cd209a4bf48a6cdb0717020e Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 225ce482 | 15-Apr-2021 |
Lionel Debieve <lionel.debieve@foss.st.com> |
feat(stm32mp1): add a second fixed regulator
Increase the fixed regulator number that needs to be 2 for STM32MP13.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: Ica990fe9a64
feat(stm32mp1): add a second fixed regulator
Increase the fixed regulator number that needs to be 2 for STM32MP13.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: Ica990fe9a6494b76aed763d2d353f5234fed7cea
show more ...
|
| a5308745 | 14-Apr-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): adaptations for STM32MP13 image header
The header must now include by default at least an extra padding header, increasing the size of the header to 512 bytes (0x200). This header wi
feat(stm32mp1): adaptations for STM32MP13 image header
The header must now include by default at least an extra padding header, increasing the size of the header to 512 bytes (0x200). This header will be placed at the end of SRAM3 by BootROM, letting the whole SYSRAM to TF-A. The boot context is now placed in SRAM2, hence this memory has to be mapped in BL2 MMU. This mapping is done for all SRAMs in a 2MB area.
Change-Id: I50fcd43ecd0ba2076292b057566efe6809b9971a Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 5f52eb15 | 08-Apr-2020 |
Lionel Debieve <lionel.debieve@st.com> |
feat(stm32mp1): update boot API for header v2.0
Add the new field for the new header v2.0. Force MP13 platform to use v2.0. Removing unused fields in boot_api_context_t for STM32MP13.
Signed-off-by
feat(stm32mp1): update boot API for header v2.0
Add the new field for the new header v2.0. Force MP13 platform to use v2.0. Removing unused fields in boot_api_context_t for STM32MP13.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Change-Id: Iac81aad9a939c1f305184e335e0a907ac69071df
show more ...
|
| 52ac9983 | 23-Mar-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): update IP addresses for STM32MP13
Add the IP addresses that are STM32MP13 and update the ones for which the base address has changed.
Signed-off-by: Yann Gautier <yann.gautier@st.co
feat(stm32mp1): update IP addresses for STM32MP13
Add the IP addresses that are STM32MP13 and update the ones for which the base address has changed.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Iea71a491da36f721bfd3fbfb010177e2a6a57281
show more ...
|
| 30eea116 | 12-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): add part numbers for STM32MP13
Add the new part numbers and adapt the functions that use them. There is no package number in OTP as they all share the same GPIO banks. This part is t
feat(stm32mp1): add part numbers for STM32MP13
Add the new part numbers and adapt the functions that use them. There is no package number in OTP as they all share the same GPIO banks. This part is then stubbed for STM32MP13.
Change-Id: I13414326b140119aece662bf8d82b387dece0dcc Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| ef0b8a6c | 25-Aug-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): chip rev. Z is 0x1001 on STM32MP13
On STM32MP13, the chip revision Z is 0x1001, contrary to STM32MP15, for which it was 0x2001.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Cha
feat(stm32mp1): chip rev. Z is 0x1001 on STM32MP13
On STM32MP13, the chip revision Z is 0x1001, contrary to STM32MP15, for which it was 0x2001.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: If65482e824b169282abb5e26ca91e16ef7640b52
show more ...
|
| 4b031ab4 | 05-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): update BACKUP_BOOT_MODE for STM32MP13
The backup register used on STM32MP15 to save the boot interface for the next boot stage was 20. It is now saved in backup register 30 on STM32M
feat(stm32mp1): update BACKUP_BOOT_MODE for STM32MP13
The backup register used on STM32MP15 to save the boot interface for the next boot stage was 20. It is now saved in backup register 30 on STM32MP13.
Change-Id: Ibd051ff2eca7202184fa428ed57ecd4ae7388bd8 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 7b48a9f3 | 06-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): stm32mp_is_single_core() for STM32MP13
STM32MP13 is a single Cortex-A7 CPU, always return true in stm32mp_is_single_core() function.
Change-Id: Icf36eaa887bdf314137eda07c5751cea8c95
feat(stm32mp1): stm32mp_is_single_core() for STM32MP13
STM32MP13 is a single Cortex-A7 CPU, always return true in stm32mp_is_single_core() function.
Change-Id: Icf36eaa887bdf314137eda07c5751cea8c950143 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 111a384c | 12-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): remove unsupported features on STM32MP13
* GPIO: On STM32MP13, there are no banks GPIOJ, GPIOK and GPIOZ. * STM32MP13 is a single Cortex-A7 CPU: remove reset from MPU1 and reset fr
feat(stm32mp1): remove unsupported features on STM32MP13
* GPIO: On STM32MP13, there are no banks GPIOJ, GPIOK and GPIOZ. * STM32MP13 is a single Cortex-A7 CPU: remove reset from MPU1 and reset from MCU traces * There is no MCU on STM32MP13. Put MCU security management under STM32MP15 flag. * The authentication feature is not supported yet on STM32MP13, put the code under SPM32MP15 flag. * On STM32MP13, the monotonic counter is managed in ROM code, keep the monotonic counter update just for STM32MP15. * SYSCFG: put registers not present on STM32MP13 under STM32MP15 flag, as the code that manages them. * PMIC: use ldo3 during DDR configuration only for STM32MP15 * Reset UART pins on USB boot is no more required.
Change-Id: Iceba59484a9bb02828fe7e99f3ecafe69c837bc7 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 48ede661 | 03-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): update memory mapping for STM32MP13
SYSRAM is only 128KB and starts at 0x2FFE0000. SRAMs are added. BL2 code and DTB sizes are also reduced to fit in 128KB.
Change-Id: I25da99ef5c08
feat(stm32mp1): update memory mapping for STM32MP13
SYSRAM is only 128KB and starts at 0x2FFE0000. SRAMs are added. BL2 code and DTB sizes are also reduced to fit in 128KB.
Change-Id: I25da99ef5c08f8008ff00d38248d61b6045adad4 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| bdec516e | 18-Dec-2020 |
Sebastien Pasdeloup <sebastien.pasdeloup-ext@st.com> |
feat(stm32mp1): introduce new flag for STM32MP13
STM32MP13 is a variant of STM32MP1, with a single Cortex-A7, and no Cortex-M4. There is only one DDR port. SP_min is not supported, only OP-TEE can b
feat(stm32mp1): introduce new flag for STM32MP13
STM32MP13 is a variant of STM32MP1, with a single Cortex-A7, and no Cortex-M4. There is only one DDR port. SP_min is not supported, only OP-TEE can be used as monitor. STM32MP13 uses the header v2.0 format for stm32image generation for BL2.
Change-Id: Ie5b0e3230c5e064fe96f3561fc5b3208914dea53 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 2d8886ac | 18-Nov-2019 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
feat(st): update stm32image tool for header v2
The stm32image tool is updated to manage new header v2.0 for BL2 images. Add new structure for the header v2.0 management. Adapt to keep compatibility
feat(st): update stm32image tool for header v2
The stm32image tool is updated to manage new header v2.0 for BL2 images. Add new structure for the header v2.0 management. Adapt to keep compatibility with v1.0. Add the header version major and minor in the command line when executing the tool, as well as binary type (0x10 for BL2).
Change-Id: I70c187e8e7e95b57ab7cfad63df314307a78f1d6 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
show more ...
|
| 9b2510b6 | 24-Feb-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(security): apply SMCCC_ARCH_WORKAROUND_3 to A73/A75/A72/A57
This patch applies CVE-2022-23960 workarounds for Cortex-A75, Cortex-A73, Cortex-A72 & Cortex-A57. This patch also implements the new
fix(security): apply SMCCC_ARCH_WORKAROUND_3 to A73/A75/A72/A57
This patch applies CVE-2022-23960 workarounds for Cortex-A75, Cortex-A73, Cortex-A72 & Cortex-A57. This patch also implements the new SMCCC_ARCH_WORKAROUND_3 and enables necessary discovery hooks for Coxtex-A72, Cortex-A57, Cortex-A73 and Cortex-A75 to enable discovery of this SMC via SMC_FEATURES. SMCCC_ARCH_WORKAROUND_3 is implemented for A57/A72 because some revisions are affected by both CVE-2022-23960 and CVE-2017-5715 and this allows callers to replace SMCCC_ARCH_WORKAROUND_1 calls with SMCCC_ARCH_WORKAROUND_3. For details of SMCCC_ARCH_WORKAROUND_3, please refer SMCCCv1.4 specification.
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com> Signed-off-by: John Powell <john.powell@arm.com> Change-Id: Ifa6d9c7baa6764924638efe3c70468f98d60ed7c
show more ...
|
| 99887cb9 | 02-Mar-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st): configure UART baudrate
Add the possibility to configure console UART baudrate, it can be passed as a command line parameter with STM32MP_UART_BAUDRATE. The default value remains 11520
refactor(st): configure UART baudrate
Add the possibility to configure console UART baudrate, it can be passed as a command line parameter with STM32MP_UART_BAUDRATE. The default value remains 115200.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I000df70c10b2b4dac1449556596f9820c36cf243
show more ...
|
| ceab2fc3 | 28-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1): fix enum prints
With gcc-11, the -Wformat-signedness warning complains about enum values that should be printed as unsigned values. But the current version of compiler used in CI stat
fix(stm32mp1): fix enum prints
With gcc-11, the -Wformat-signedness warning complains about enum values that should be printed as unsigned values. But the current version of compiler used in CI states that this parameter is signed. Just cast the value then.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ic0655e5ba9c44fe6abcd9958d7a9972f5de3b7ef
show more ...
|
| 8d9c1b3c | 16-Feb-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st-format-signedness" into integration
* changes: feat(stm32mp1): enable format-signedness warning fix(stm32mp1): correct types in messages fix(st-pmic): correct verb
Merge changes from topic "st-format-signedness" into integration
* changes: feat(stm32mp1): enable format-signedness warning fix(stm32mp1): correct types in messages fix(st-pmic): correct verbose message fix(st-sdmmc2): correct cmd_idx type in messages fix(st-fmc): fix type in message fix(mtd): correct types in messages fix(usb): correct type in message fix(tzc400): correct message with filter fix(psci): correct parent_node type in messages fix(libc): correct some messages fix(fconf): correct image_id type in messages fix(bl2): correct messages with image_id
show more ...
|