]> git.baikalelectronics.ru Git - uboot.git/commit
arm: stm32mp: spl: update error management in board_init_f
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 22 Apr 2020 12:29:10 +0000 (14:29 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commita0a86b4395e9479a45ef26550676bfdb1612a0f8
treea2e2fb77bbf801f149577d6180c6a39cbb375d1b
parent8b2c4d87ec399cbe48a24d9732f50b250be7689d
arm: stm32mp: spl: update error management in board_init_f

Call hang when an error is detected for probe of any driver
needed for console or DDR init: clk, reset and pincontrol

NB: previous behavior with a return in board_init_f() was not correct;
    DDR is not initialized and SPL execution can't continue

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/spl.c