diff options
author | Yann Gautier <yann.gautier@st.com> | 2019-02-14 11:15:20 +0100 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2019-02-14 11:20:23 +0100 |
commit | 447b2b137d7286a1ef451336c6e73fb7fd8999a1 (patch) | |
tree | bd504a237d80443c2bf0c6536287f65810e5fd77 /plat/st | |
parent | d82d4ff0666711067328d2d34e2bdc009e84969f (diff) |
stm32mp1: split clkfunc code
Create a new file stm32mp_clkfunc.c to put functions that could be common
between several platforms.
Change-Id: Ica915c796b162b2345056b33328acc05035a242c
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/st')
-rw-r--r-- | plat/st/stm32mp1/platform.mk | 1 | ||||
-rw-r--r-- | plat/st/stm32mp1/stm32mp1_def.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk index 1c5f6273..3e346018 100644 --- a/plat/st/stm32mp1/platform.mk +++ b/plat/st/stm32mp1/platform.mk @@ -50,6 +50,7 @@ PLAT_BL_COMMON_SOURCES += ${LIBFDT_SRCS} \ drivers/delay_timer/delay_timer.c \ drivers/delay_timer/generic_delay_timer.c \ drivers/st/bsec/bsec.c \ + drivers/st/clk/stm32mp_clkfunc.c \ drivers/st/clk/stm32mp1_clk.c \ drivers/st/clk/stm32mp1_clkfunc.c \ drivers/st/ddr/stm32mp1_ddr_helpers.c \ diff --git a/plat/st/stm32mp1/stm32mp1_def.h b/plat/st/stm32mp1/stm32mp1_def.h index 95d34125..beb588c7 100644 --- a/plat/st/stm32mp1/stm32mp1_def.h +++ b/plat/st/stm32mp1/stm32mp1_def.h @@ -250,4 +250,9 @@ static inline uint32_t tamp_bkpr(uint32_t idx) ******************************************************************************/ #define I2C4_BASE U(0x5C002000) +/******************************************************************************* + * Device Tree defines + ******************************************************************************/ +#define DT_RCC_CLK_COMPAT "st,stm32mp1-rcc" + #endif /* STM32MP1_DEF_H */ |