board: stm32f429-disco: switch to DM STM32 clock driver
Use available DM clk_stm32f.c driver instead of dedicated mach-stm32/stm32f4/clock.c. Migrate periph_clock defines from stm32_periph.h directly in CLK driver. These periph_clock defines will be removed when STMMAC, TIMER2 and SYSCFG drivers will support DM CLK. Enable also CLK flag. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
committed by
Tom Rini
parent
dcb11959d8
commit
4a56fd484a
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/stm32.h>
|
||||
#include <asm/arch/stm32_periph.h>
|
||||
#include <asm/arch/stm32_pwr.h>
|
||||
|
||||
#include <dt-bindings/mfd/stm32f7-rcc.h>
|
||||
@@ -88,6 +87,12 @@
|
||||
*/
|
||||
#define RCC_APB2ENR_SYSCFGEN BIT(14)
|
||||
|
||||
enum periph_clock {
|
||||
SYSCFG_CLOCK_CFG,
|
||||
TIMER2_CLOCK_CFG,
|
||||
STMMAC_CLOCK_CFG,
|
||||
};
|
||||
|
||||
struct stm32_clk_info stm32f4_clk_info = {
|
||||
/* 180 MHz */
|
||||
.sys_pll_psc = {
|
||||
|
||||
Reference in New Issue
Block a user