stm32mp1: split code between common and private parts
Some parts of code could be shared with platform derivatives,
or new platforms.
A new folder plat/st/common is created to put common parts.

stm32mp_common.h is a common API aggregate.

Remove some casts where applicable.
Fix some types where applicable.
Remove also some platform includes that are already in stm32mp1_def.h.

Change-Id: I46d763c8d9e15732d1ee7383207fd58206d7f583
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent eaea119 commit c9d75b3cf98c7f2a78d3f916bcf9e2b3a2c55967
@Yann Gautier Yann Gautier authored on 14 Feb 2019
Showing 19 changed files
View
drivers/st/gpio/stm32_gpio.c
View
plat/st/common/bl2_io_storage.c 0 → 100644
View
plat/st/common/include/stm32mp_common.h 0 → 100644
View
plat/st/common/include/stm32mp_dt.h 0 → 100644
View
plat/st/common/stm32mp_common.c 0 → 100644
View
plat/st/common/stm32mp_dt.c 0 → 100644
View
plat/st/stm32mp1/bl2_io_storage.c 100644 → 0
View
plat/st/stm32mp1/bl2_plat_setup.c
View
plat/st/stm32mp1/include/stm32mp1_dt.h 100644 → 0
View
plat/st/stm32mp1/include/stm32mp1_private.h
View
plat/st/stm32mp1/platform.mk
View
plat/st/stm32mp1/sp_min/sp_min_setup.c
View
plat/st/stm32mp1/stm32mp1_common.c 100644 → 0
View
plat/st/stm32mp1/stm32mp1_def.h
View
plat/st/stm32mp1/stm32mp1_dt.c 100644 → 0
View
plat/st/stm32mp1/stm32mp1_gic.c
View
plat/st/stm32mp1/stm32mp1_pm.c
View
plat/st/stm32mp1/stm32mp1_private.c 0 → 100644
View
plat/st/stm32mp1/stm32mp1_security.c