board: stm32mp1: move board_get_mtdparts in st common directory
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 18 Mar 2020 08:22:44 +0000 (09:22 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit939ba160aa7e4f926599befc5e5cd0a4545dff6e
treeaa5857a6032c210c3c91f53ea74f92ad382445aa
parent2d68365da17b7dc45543daaa9c5010c11332ba09
board: stm32mp1: move board_get_mtdparts in st common directory

Move the stm32mp1 common code board_get_mtdparts() in common directory,
this patch reduce the maintenance effort on this generic part (not board
dependent).

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