diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-22 18:30:56 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-22 18:30:56 -0400 |
commit | f2db24556f33e8dfb8865fbc1c75e48f96be4fbf (patch) | |
tree | 798b5ec26a35d52f30bcd302c2265027bd7b9bc9 /board | |
parent | 03972a10acad1d4aca0db20c4744b56dfc145e8a (diff) | |
parent | 0d5bd362f61dd3dc54f9a32fd38541b8d5c5d869 (diff) | |
download | u-boot-f2db24556f33e8dfb8865fbc1c75e48f96be4fbf.zip u-boot-f2db24556f33e8dfb8865fbc1c75e48f96be4fbf.tar.gz u-boot-f2db24556f33e8dfb8865fbc1c75e48f96be4fbf.tar.bz2 |
Merge tag 'u-boot-stm32-20230419' of https://source.denx.de/u-boot/custodians/u-boot-stm
configs:
_ Add usb_pgood_delay for ST boards
_ increase malloc size for pre-reloc for stm32mp15
_ Set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s for stm32mp15
dts:
_ Add QSPI support on STM32MP13x SoC family
_ Add FMC support on STM32MP13x SoC family
drivers/machine:
_ pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()
_ spi: stm32_qspi: Remove useless struct stm32_qspi_flash
_ rawnand: stm32_fmc2: remove unsupported EDO mode
_ stm32mp: fix various array bounds checks
Diffstat (limited to 'board')
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index ca8f025..1a1b184 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -872,7 +872,7 @@ int mmc_get_boot(void) STM32_SDMMC3_BASE }; - if (instance > ARRAY_SIZE(sdmmc_addr)) + if (instance >= ARRAY_SIZE(sdmmc_addr)) return 0; /* search associated sdmmc node in devicetree */ |