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> |
---|
|
drivers/st/gpio/stm32_gpio.c |
---|
plat/st/common/bl2_io_storage.c 0 → 100644 |
---|
plat/st/common/include/stm32mp_common.h 0 → 100644 |
---|
plat/st/common/include/stm32mp_dt.h 0 → 100644 |
---|
plat/st/common/stm32mp_common.c 0 → 100644 |
---|
plat/st/common/stm32mp_dt.c 0 → 100644 |
---|
plat/st/stm32mp1/bl2_io_storage.c 100644 → 0 |
---|
plat/st/stm32mp1/bl2_plat_setup.c |
---|
plat/st/stm32mp1/include/stm32mp1_dt.h 100644 → 0 |
---|
plat/st/stm32mp1/include/stm32mp1_private.h |
---|
plat/st/stm32mp1/platform.mk |
---|
plat/st/stm32mp1/sp_min/sp_min_setup.c |
---|
plat/st/stm32mp1/stm32mp1_common.c 100644 → 0 |
---|
plat/st/stm32mp1/stm32mp1_def.h |
---|
plat/st/stm32mp1/stm32mp1_dt.c 100644 → 0 |
---|
plat/st/stm32mp1/stm32mp1_gic.c |
---|
plat/st/stm32mp1/stm32mp1_pm.c |
---|
plat/st/stm32mp1/stm32mp1_private.c 0 → 100644 |
---|
plat/st/stm32mp1/stm32mp1_security.c |
---|