board: st: create common file stpmic1.c
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 25 May 2020 10:19:43 +0000 (12:19 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Jul 2020 14:01:23 +0000 (16:01 +0200)
commit918e9c3d638722e5169091594846462e7af69f47
treed79a132014de4118b0aa92261083fe5136ef035a
parent6f2e0ad1945a188d39e759f7b87a66cc9274ecc1
board: st: create common file stpmic1.c

Move function board_ddr_power_init() in a new file stpmic1 in
board/st/common to avoid duplicated code in each board using
stpmic1

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/dhelectronics/dh_stm32mp1/Makefile
board/st/common/Makefile
board/st/common/stpmic1.c [new file with mode: 0644]
board/st/stm32mp1/board.c