stm32mp1: use functions to retrieve some peripheral addresses
authorYann Gautier <yann.gautier@st.com>
Thu, 14 Feb 2019 10:01:20 +0000 (11:01 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 14 Feb 2019 10:20:23 +0000 (11:20 +0100)
commit7ae58c6ba79fee3cc032aae2105b073304409ebc
tree285ded01264f6dc644bd7adda5736e9b9da448af
parent447b2b137d7286a1ef451336c6e73fb7fd8999a1
stm32mp1: use functions to retrieve some peripheral addresses

PWR, RCC, DDRPHYC & DDRCTRL addresses can be retrieved from device tree.
Platform asserts the value read from the DT are the SoC addresses.

Change-Id: I43f0890b51918a30c87ac067d3780ab27a0f59de
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Nicolas LE BAYON <nicolas.le.bayon@st.com>
drivers/st/ddr/stm32mp1_ddr_helpers.c
drivers/st/ddr/stm32mp1_ram.c
drivers/st/reset/stm32mp1_reset.c
plat/st/common/include/stm32mp_common.h
plat/st/common/include/stm32mp_dt.h
plat/st/common/stm32mp_common.c
plat/st/common/stm32mp_dt.c
plat/st/stm32mp1/bl2_plat_setup.c
plat/st/stm32mp1/stm32mp1_def.h
plat/st/stm32mp1/stm32mp1_pm.c