u-boot/board/st/common
Marek Vasut b3d97f8ce3 ARM: stm32: Power cycle Buck3 in reset on DHSOM
In case the DHSOM is in suspend state and either reset button is pushed
or IWDG2 triggers a watchdog reset, then DRAM initialization could fail
as follows:

  "
  RAM: DDR3L 32bits 2x4Gb 533MHz
  DDR invalid size : 0x4, expected 0x40000000
  DRAM init failed: -22
  ### ERROR ### Please RESET the board ###
  "

Avoid this failure by not keeping any Buck regulators enabled during reset,
let the SoC and DRAMs power cycle fully. Since the change which keeps Buck3
VDD enabled during reset is ST specific, move this addition to ST specific
SPL board initialization so that it wouldn't affect the DHSOM .

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2023-08-16 15:19:57 +02:00
..
cmd_stboard.c board: st: Add support of STM32MP13x boards in stm32board cmd 2023-01-12 16:37:13 +01:00
Kconfig board: st: remove board_mtdparts_default 2023-06-16 11:01:16 +02:00
MAINTAINERS Correct U-Boot upstream repository 2021-02-28 13:57:30 -05:00
Makefile board: st: remove board_mtdparts_default 2023-06-16 11:01:16 +02:00
stm32mp_dfu.c Correct SPL uses of MTD 2023-02-10 07:41:39 -05:00
stpmic1.c ARM: stm32: Power cycle Buck3 in reset on DHSOM 2023-08-16 15:19:57 +02:00
stpmic1.h ARM: stm32: Power cycle Buck3 in reset on DHSOM 2023-08-16 15:19:57 +02:00
stusb160x.c board: st: common: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
stusb160x.h board: st: move type-c stusb1600 controller code in a driver 2020-07-07 16:01:23 +02:00