arm-trusted-firmware/plat/st/common
Yann Gautier e7d75448b9 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
2022-12-07 14:20:01 +01:00
..
include fix(st): add U suffix for unsigned numbers 2022-12-07 14:20:01 +01:00
bl2_io_storage.c fix(st): add U suffix for unsigned numbers 2022-12-07 14:20:01 +01:00
stm32cubeprogrammer_uart.c refactor(st): configure baudrate for UART programmer 2022-09-23 15:17:43 +02:00
stm32cubeprogrammer_usb.c fix(st): add missing string.h include 2022-10-03 10:00:03 +02:00
stm32mp_common.c refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
stm32mp_crypto_lib.c feat(stm32mp1): add a stm32mp crypto library 2022-11-14 10:55:17 +01:00
stm32mp_dt.c fix(st): use indices when counting GPIOs in DT 2022-12-07 14:20:01 +01:00
stm32mp_fconf_io.c feat(stm32mp1): add the decryption support 2022-11-14 11:25:01 +01:00
stm32mp_trusted_boot.c feat(stm32mp1): add the TRUSTED_BOARD_BOOT support 2022-11-14 11:25:01 +01:00
usb_dfu.c feat(plat/st): add a USB DFU stack 2021-10-29 16:43:36 +02:00