diff options
author | Tom Rini <trini@konsulko.com> | 2025-07-07 14:10:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-07 14:10:59 -0600 |
commit | 6d0b8874fde96c88e866c1e5ae0018354b7cd7d6 (patch) | |
tree | fc498e7eaa23b8d27c701648bd3d0f92160bde39 /drivers/ram/stm32mp1/stm32mp1_ddr.h | |
parent | e37de002fac3895e8d0b60ae2015e17bb33e2b5b (diff) | |
parent | 7598b469c16d97128d9c22839b06d94c5c331a7e (diff) |
Merge branch 'next'
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_ddr.h')
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_ddr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ram/stm32mp1/stm32mp1_ddr.h b/drivers/ram/stm32mp1/stm32mp1_ddr.h index 861efff92be..3621e6c9a1b 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ddr.h +++ b/drivers/ram/stm32mp1/stm32mp1_ddr.h @@ -105,12 +105,14 @@ struct stm32mp1_ddrctrl_perf { u32 pcfgqos1_0; u32 pcfgwqos0_0; u32 pcfgwqos1_0; +#if IS_ENABLED(CONFIG_STM32MP15X) u32 pcfgr_1; u32 pcfgw_1; u32 pcfgqos0_1; u32 pcfgqos1_1; u32 pcfgwqos0_1; u32 pcfgwqos1_1; +#endif }; struct stm32mp1_ddrphy_reg { @@ -123,8 +125,10 @@ struct stm32mp1_ddrphy_reg { u32 zq0cr1; u32 dx0gcr; u32 dx1gcr; +#if IS_ENABLED(CONFIG_STM32MP15X) u32 dx2gcr; u32 dx3gcr; +#endif }; struct stm32mp1_ddrphy_timing { @@ -181,4 +185,6 @@ bool stm32mp1_ddr_interactive( enum stm32mp1_ddr_interact_step step, const struct stm32mp1_ddr_config *config); +bool is_stm32mp13_ddrc(const struct ddr_info *priv); + #endif |