opos6uldev: don't call enable_lcdif_clock
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Tue, 14 May 2019 11:46:20 +0000 (13:46 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
The mxsfb driver already calls enable_lcdif_clock.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
board/armadeus/opos6uldev/board.c

index 4faa9971260201fd04913be7f203c52e680b65a5..aed334f8fb5fbec52fef925de6f640397673d51e 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 2018 Armadeus Systems
  */
 
-#include <asm/arch/clock.h>
 #include <asm/arch/mx6-pins.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
@@ -49,8 +48,6 @@ int setup_lcd(void)
        struct gpio_desc backlight;
        int ret;
 
-       enable_lcdif_clock(LCDIF1_BASE_ADDR, 1);
-
        imx_iomux_v3_setup_multiple_pads(lcd_pads, ARRAY_SIZE(lcd_pads));
 
        /* Set Brightness to high */