| 19c38081 | 13-Jun-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-clock): stub fdt_get_rcc_secure_state
The function fdt_get_rcc_secure_state() is only used in BL32. Put it under flag to avoid compilation errors.
Signed-off-by: Yann Gautier <yann.gautier@
feat(st-clock): stub fdt_get_rcc_secure_state
The function fdt_get_rcc_secure_state() is only used in BL32. Put it under flag to avoid compilation errors.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: If57c65bef0b1a3f7349527720f94fde26edbb73c
show more ...
|
| 1bbcb58a | 15-May-2023 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
fix(st-clock): disabling CKPER clock is not functional on stm32mp13
The mask used to configure the CKPER MUX was wrong and unnecessary.
Change-Id: I40098f2a27b9e5ba8706ab5377d23f578c09838b Signed-o
fix(st-clock): disabling CKPER clock is not functional on stm32mp13
The mask used to configure the CKPER MUX was wrong and unnecessary.
Change-Id: I40098f2a27b9e5ba8706ab5377d23f578c09838b Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
show more ...
|
| 5d942ff1 | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-gpio): define shift as uint32_t
This corrects MISRA C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential type. While at it change all the sh
fix(st-gpio): define shift as uint32_t
This corrects MISRA C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential type. While at it change all the shift values to unsigned.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Idf9915313af965db2106095df7cb48a84f50c519
show more ...
|
| 029f81e0 | 21-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-sdmmc): check transfer size before filling register
Fix MISRA C2012-10.3: The value of an expression shall not be assigned to an object with a narrower essential type or of a different essent
fix(st-sdmmc): check transfer size before filling register
Fix MISRA C2012-10.3: The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category.
Check buffer size is less than 4GB before casting the command argument.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Iac1afcfe905c99b22cb39dc4104d351b0e647e5d
show more ...
|
| 4198fa1d | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): avoid arithmetics on pointers
This corrects MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type.
Signed-off-by: Yann Gautier <yann.
fix(st-clock): avoid arithmetics on pointers
This corrects MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I9128f567a7c83d8e3381428b07e6bd785be2703b
show more ...
|
| ee21709e | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): give the size for parent_mp13 and dividers_mp13 tables
This corrects MISRA C2012-9.5: Where designated initializers are used to initialize an array object the size of the array shall
fix(st-clock): give the size for parent_mp13 and dividers_mp13 tables
This corrects MISRA C2012-9.5: Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I4c331b0225af975fd022ffe9e5fd1d536ed59879
show more ...
|
| 69a2e320 | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): remove useless switch
This corrects MISRA C2012-16.6: Every switch statement shall have at least two switch-clauses. While at it, remove useless rate variable.
Signed-off-by: Yann Ga
fix(st-clock): remove useless switch
This corrects MISRA C2012-16.6: Every switch statement shall have at least two switch-clauses. While at it, remove useless rate variable.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I123784e7184dbf4146fd0d7faeffd6a0382fc6a1
show more ...
|
| c3ae7da0 | 28-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): 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
fix(st-clock): 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: Id217d3da223caf75cd0439d7ce11c9efab87b4d2
show more ...
|
| 9a00daf9 | 28-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-regulator): 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 essenti
fix(st-regulator): 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: Iacc58349cc3ab558fb4ffe0605a623e84e21e035
show more ...
|
| 91af163c | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-regulator): enclose macro parameters in parentheses
This corrects MISRA C2012-20.7: Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses.
Signed-off-
fix(st-regulator): enclose macro parameters in parentheses
This corrects MISRA C2012-20.7: Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I9989a5aaacf17f6f7a65381c8d41f21a35f6ddd9
show more ...
|
| 6a3ffb53 | 25-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-regulator): rework for_each_*rdev macros
This corrects MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type.
Signed-off-by: Yann Gautier <ya
fix(st-regulator): rework for_each_*rdev macros
This corrects MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ie1a196b875eae2eff9242cf83abfc1a79bdee6f3
show more ...
|
| 68083e7a | 28-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-regulator): 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
fix(st-regulator): 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.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: If8312442222ba848ac1f5e38df1bed0a367646a7
show more ...
|
| 3cebeec2 | 24-Nov-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-pmic): define pmic_regs table size
This corrects MISRA C2012-9.5: Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly.
Si
fix(st-pmic): define pmic_regs table size
This corrects MISRA C2012-9.5: Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I4f8da6b0ce73df65b2b45ba10d4ca16ed8b70113
show more ...
|