diff mbox series

[U-Boot,v3,6/6] board/BuR: drop LCDC clock manipulation from board code

Message ID 1515520896-18833-7-git-send-email-oe5hpm@oevsv.at
State Accepted
Delegated to: Anatolij Gustschin
Headers show
Series am335x-fb: support display PLL for lcd-clock / pixel-clock | expand

Commit Message

Hannes Schmelzer Jan. 9, 2018, 6:01 p.m. UTC
The clock selection is done now from the am335x-fb code, so there is no
more need doing this in the board code.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
---

Changes in v3: None
Changes in v2: None

 board/BuR/brppt1/board.c | 3 ---
 board/BuR/brxre1/board.c | 2 --
 2 files changed, 5 deletions(-)

Comments

Anatolij Gustschin Jan. 10, 2018, 1:09 p.m. UTC | #1
On Tue,  9 Jan 2018 19:01:36 +0100
Hannes Schmelzer oe5hpm@oevsv.at wrote:

> The clock selection is done now from the am335x-fb code, so there is no
> more need doing this in the board code.
> 
> Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>

Reviewed-by: Anatolij Gustschin <agust@denx.de>
diff mbox series

Patch

diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c
index 6083479..9f7b2d9 100644
--- a/board/BuR/brppt1/board.c
+++ b/board/BuR/brppt1/board.c
@@ -120,9 +120,6 @@  void am33xx_spl_board_init(void)
 	};
 	do_enable_clocks(clk_domains, clk_modules_tsspecific, 1);
 
-	/* setup LCD-Pixel Clock */
-	writel(0x2, &cmdpll->clklcdcpixelclk);	/* clock comes from perPLL M2 */
-
 	/* setup I2C */
 	enable_i2c_pin_mux();
 	i2c_set_bus_num(0);
diff --git a/board/BuR/brxre1/board.c b/board/BuR/brxre1/board.c
index 856ac3d..e176b60 100644
--- a/board/BuR/brxre1/board.c
+++ b/board/BuR/brxre1/board.c
@@ -121,8 +121,6 @@  void am33xx_spl_board_init(void)
 		0
 	};
 	do_enable_clocks(clk_domains, clk_modules_xre1specific, 1);
-	/* setup LCD-Pixel Clock */
-	writel(0x2, CM_DPLL + 0x34);
 	/* power-OFF LCD-Display */
 	gpio_direction_output(LCD_PWR, 0);