]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(st-clock): check HSE configuration in serial boot
authorLionel Debieve <lionel.debieve@st.com>
Tue, 2 Jul 2019 16:03:34 +0000 (18:03 +0200)
committerYann Gautier <yann.gautier@st.com>
Tue, 18 Jan 2022 16:07:41 +0000 (17:07 +0100)
commit31e9750bc17bd472d4f2a3db297461efc301be51
tree9a46d5cc6c2eab356489c53b3bfa68a878e72b69
parentbcccdacc7e7b7b985df942b3fae26cb9038a2574
feat(st-clock): check HSE configuration in serial boot

In case of programmer mode, the bootrom manages to auto-detect
HSE clock configuration. In order to detect a bad device tree
setting in BL2, it will crash during programming if the configuration
is not aligned with the auto-detection.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: I230697695745d6282d14b1ebfa6e4c4caa0cd8e2
drivers/st/clk/stm32mp1_clk.c