| 77ce6a56 | 17-Jan-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st): enable RTC clock before accessing nv counter
The plat_get_nv_ctr() retrieves the non-volatile counter value from TAMP_COUNTR register in RTCTAMP peripheral. The clock needs to be enabled be
fix(st): enable RTC clock before accessing nv counter
The plat_get_nv_ctr() retrieves the non-volatile counter value from TAMP_COUNTR register in RTCTAMP peripheral. The clock needs to be enabled before accessing it.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I2e9fc2c7ac516d6f8624cc6c9d442ee85629bf9a
show more ...
|
| 5c506c73 | 06-Feb-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st): update comment on encryption key
On STM32MP2, the encryption key is 32 bytes, the key duplication (done for 16 bytes OTP) is not done. Update the comment to precise that.
Change-Id: I6fc4d
fix(st): update comment on encryption key
On STM32MP2, the encryption key is 32 bytes, the key duplication (done for 16 bytes OTP) is not done. Update the comment to precise that.
Change-Id: I6fc4d652fdd462808918e85f6e5bd0d68d10d436 Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 76e4fab0 | 05-Jan-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st): allow crypto lib compilation in aarch64
Cast len with size_t, as it is unsigned long on Aarch64, and no more unsigned int. Changing functions prototypes will not help as .verify_signature a
fix(st): allow crypto lib compilation in aarch64
Cast len with size_t, as it is unsigned long on Aarch64, and no more unsigned int. Changing functions prototypes will not help as .verify_signature awaits an unsigned int for its last parameter.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I9332fd46301a9653af917802788fd97fe7c8a162
show more ...
|
| a2500ab7 | 17-Aug-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st): reduce MMC block_buffer
This buffer used by io_block should be the size on one block (512 bytes) not 512*4 due to the use of uint32_t. Change that to uint8_t. This reduces the size of BSS b
fix(st): reduce MMC block_buffer
This buffer used by io_block should be the size on one block (512 bytes) not 512*4 due to the use of uint32_t. Change that to uint8_t. This reduces the size of BSS by 1.5KiB.
Change-Id: I8492f13f5386679b0c81efba66911422412782f9 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 954048f4 | 14-Jun-2023 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move plat_image_load.c
This file is common for ST platforms, move it to plat/st/common/.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7cefbc7f857d4ea63320042988c86d28
refactor(st): move plat_image_load.c
This file is common for ST platforms, move it to plat/st/common/.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7cefbc7f857d4ea63320042988c86d28e8a3cc09
show more ...
|
| dad71816 | 09-Sep-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(st): allow AARCH64 compilation for common code
Use read_sctlr_el3() for aarch64 code instead of read_sctlr().
Change-Id: I17b5d1f8cb2918de6ab1d2d56c15cabca0ed43fd Signed-off-by: Yann Gautier <
feat(st): allow AARCH64 compilation for common code
Use read_sctlr_el3() for aarch64 code instead of read_sctlr().
Change-Id: I17b5d1f8cb2918de6ab1d2d56c15cabca0ed43fd Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| dee99f10 | 15-Mar-2023 |
Yann Gautier <yann.gautier@st.com> |
refactor(auth)!: unify REGISTER_CRYPTO_LIB
Have only one definition for REGISTER_CRYPTO_LIB macro, with all the possible fields. Worst case adds 4 u64 to crypto_lib_desc. While at it, correct some M
refactor(auth)!: unify REGISTER_CRYPTO_LIB
Have only one definition for REGISTER_CRYPTO_LIB macro, with all the possible fields. Worst case adds 4 u64 to crypto_lib_desc. While at it, correct some MISRA violations: MC3R1.R12.1: (advisory) The precedence of operators within expressions should be made explicit.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I1342a20e6eef2354753182c2a81ff959e03e5c81
show more ...
|
| 38ac8bbb | 02-Mar-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st): mandate dtc version 1.4.7
To be able to use /omit-if-no-ref/ in DT files, the dtc version should be at least 1.4.7. Update the makefile rule that checks dtc version.
Signed-off-by: Yann G
feat(st): mandate dtc version 1.4.7
To be able to use /omit-if-no-ref/ in DT files, the dtc version should be at least 1.4.7. Update the makefile rule that checks dtc version.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I06bde289cf359a7383694e4c86991dfba781e7d7
show more ...
|
| 9e1e82fc | 06-Mar-2023 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move mbedtls config files
The files stm32mp_mbedtls_config-{2,3}.h are moved to plat/st/common/include directory as they could be shared with other ST platforms. Their prefixes are cha
refactor(st): move mbedtls config files
The files stm32mp_mbedtls_config-{2,3}.h are moved to plat/st/common/include directory as they could be shared with other ST platforms. Their prefixes are changed from stm32mp1 to stm32mp.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I86e39481b6c8d2689c59eb9a351b77b3d6233b08
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 ...
|
| c27d8c00 | 06-Aug-2019 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): move GIC code to common directory
The GIC v2 initialization code could be shared to other ST platforms. The stm32mp1_gic.c file is then moved to common directory, and renamed stm32mp_g
refactor(st): move GIC code to common directory
The GIC v2 initialization code could be shared to other ST platforms. The stm32mp1_gic.c file is then moved to common directory, and renamed stm32mp_gic.c. The functions are also prefixed with stm32mp_gic.
Change-Id: I60820823b470217d3a95cc569f941c2cb923dfa9 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|