summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/Kconfig
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-07-24 11:13:31 +0200
committerPatrice Chotard <patrice.chotard@st.com>2020-07-28 17:21:37 +0200
commit97f7e39def44439789fed911850a0d687c3da3e9 (patch)
tree86c0131690b96fdd2db76a75bcc93d458d353578 /arch/arm/mach-stm32mp/Kconfig
parent1db942b67d00a3569efbbd3f36140470b0e59b2e (diff)
arm: stm32mp: move dbgmcu_init call when DT is ready
As the dbgmcu_init use the function bsec_dbgswenable which is based on the DM and DT, its call can't be done before the spl is initialized (driver model, DT and malloc) in board_init_f::spl_early_init(). This function call is moved later in spl_board_init(). Fixes: bd3f60d29c24 ("arm: stm32mp: protect DBGMCU_IDC access with BSEC") Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/Kconfig')
-rw-r--r--arch/arm/mach-stm32mp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 4003c2e38b..478fd2f17d 100644
--- a/arch/arm/mach-stm32mp/Kconfig
+++ b/arch/arm/mach-stm32mp/Kconfig
@@ -1,6 +1,7 @@
if ARCH_STM32MP
config SPL
+ select SPL_BOARD_INIT
select SPL_CLK
select SPL_DM
select SPL_DM_SEQ_ALIAS