| 70a422ba | 12-Dec-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-crypto): set get_plain_pk_from_asn1() static
The issue is triggered when enabling -Wmissing-prototypes warning: plat/st/common/stm32mp_crypto_lib.c:81:5: warning: no previous prototype for '
fix(st-crypto): set get_plain_pk_from_asn1() static
The issue is triggered when enabling -Wmissing-prototypes warning: plat/st/common/stm32mp_crypto_lib.c:81:5: warning: no previous prototype for 'get_plain_pk_from_asn1' [-Wmissing-prototypes] 81 | int get_plain_pk_from_asn1(void *pk_ptr, unsigned int pk_len, | ^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ia36bbaba6e187ab47c203ddf0d7d017b210545cf
show more ...
|
| 45d2d495 | 21-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st): use Boolean type for tests
This corrects MISRA C2012-14.4 The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boole
fix(st): use Boolean type for tests
This corrects MISRA C2012-14.4 The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ibed7b87b50959f03dc5550dfaffacafd1d79feee
show more ...
|
| 0ebaf222 | 24-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st): rework secure-status check in fdt_get_status()
This corrects MISRA C2012-15.7: All if...else if constructs shall be terminated with an else statement.
Signed-off-by: Yann Gautier <yann.gau
fix(st): rework secure-status check in fdt_get_status()
This corrects MISRA C2012-15.7: All if...else if constructs shall be terminated with an else statement.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I3d893d0db0a448323270086923563147008c59b9
show more ...
|
| e7d75448 | 21-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st): use indices when counting GPIOs in DT
Fix MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type. While at it, avoid computing twice the same
fix(st): use indices when counting GPIOs in DT
Fix MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type. While at it, avoid computing twice the same value, by removing the initial value computation outside the loop.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Iabfe587bf72535541c94bfa341de10148aa58030
show more ...
|
| 9c1aa125 | 18-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st): add U suffix for unsigned numbers
This corrects MISRA c2012-7.2 violation: A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type.
Signed-of
fix(st): add U suffix for unsigned numbers
This corrects MISRA c2012-7.2 violation: A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I92b394572528e7179a314bbad4a032fd65053861
show more ...
|
| e7705e9a | 02-Mar-2022 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
refactor(st): configure baudrate for UART programmer
Add the possibility to configure the UART baudrate; reused the console configuration, defined in STM32MP_UART_BAUDRATE.
The default value remain
refactor(st): configure baudrate for UART programmer
Add the possibility to configure the UART baudrate; reused the console configuration, defined in STM32MP_UART_BAUDRATE.
The default value remains 115200.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: Ifcf2b36e8ac929265405bc88e824ee78be3b5bbb
show more ...
|