Skip to content
Commit b3d97f8c authored by Marek Vasut's avatar Marek Vasut Committed by Patrice Chotard
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 9b54b0e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment