ARM: stm32: Add board_early_init_f() to SPL
authorMarek Vasut <marex@denx.de>
Wed, 22 Apr 2020 11:18:10 +0000 (13:18 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit65e38e81acb0c1eb0b0478626b1985e9ae9055c6
tree8063ed6cd9e3be514691f100a012d2f6fb13d648
parentec1ee5a9272f1393caf5275309cd08cf48e49dd0
ARM: stm32: Add board_early_init_f() to SPL

Add weak implementation of board_early_init_f() hook into the
STM32MP1 SPL. This can be used to read out e.g. configuration
straps before initializing the DRAM.

Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/spl.c