From 2e668af5531815dc6a6190cf6490b866da71ffaa Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 14 Jun 2018 13:43:40 +0200 Subject: meson: use the clock driver Use the clk framework to initialize clocks from drivers that need them instead of having hardcoded frequencies and initializations from board code. Signed-off-by: Beniamino Galvani Signed-off-by: Neil Armstrong --- board/amlogic/odroid-c2/odroid-c2.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/amlogic/odroid-c2/odroid-c2.c') diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c index 1b7fd8199b..c47b9ce9cb 100644 --- a/board/amlogic/odroid-c2/odroid-c2.c +++ b/board/amlogic/odroid-c2/odroid-c2.c @@ -30,9 +30,6 @@ int misc_init_r(void) meson_gx_eth_init(PHY_INTERFACE_MODE_RGMII, 0); - /* Enable power and clock gate */ - setbits_le32(GX_GCLK_MPEG_0, GX_GCLK_MPEG_0_I2C); - /* Reset PHY on GPIOZ_14 */ clrbits_le32(GX_GPIO_EN(3), BIT(14)); clrbits_le32(GX_GPIO_OUT(3), BIT(14)); -- cgit