diff options
author | Yann Gautier <yann.gautier@st.com> | 2019-02-14 11:13:50 +0100 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2019-02-14 11:20:23 +0100 |
commit | e0a8ce5d0d1395da3b442c7c019ba62d1361e92b (patch) | |
tree | 132329104ad494f015f3995057b4388749be3c6d /drivers/st/ddr/stm32mp1_ddr_helpers.c | |
parent | 3f9c97842e5780e0e21f8eb36844c8154635c8c4 (diff) |
stm32mp1: remove some dependencies on clocks and reset in drivers
Include all RCC, clocks and reset headers from stm32mp1_def.h
which if exported to the firmware through platform_def.h.
The same dependency removal is done in common code as well.
Some useless includes are also removed in stm32_sdmmc2 driver.
Change-Id: I731ea5775c3fdb7f7b0c388b93923ed5e84b8d3f
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'drivers/st/ddr/stm32mp1_ddr_helpers.c')
-rw-r--r-- | drivers/st/ddr/stm32mp1_ddr_helpers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/st/ddr/stm32mp1_ddr_helpers.c b/drivers/st/ddr/stm32mp1_ddr_helpers.c index a8c1b776..e50b27be 100644 --- a/drivers/st/ddr/stm32mp1_ddr_helpers.c +++ b/drivers/st/ddr/stm32mp1_ddr_helpers.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018, STMicroelectronics - All Rights Reserved + * Copyright (c) 2017-2019, STMicroelectronics - All Rights Reserved * * SPDX-License-Identifier: BSD-3-Clause */ @@ -7,7 +7,6 @@ #include <platform_def.h> #include <drivers/st/stm32mp1_ddr_helpers.h> -#include <drivers/st/stm32mp1_rcc.h> #include <lib/mmio.h> void ddr_enable_clock(void) |