opos6uldev: don't call enable_lcdif_clock
PATCH v2 1/2 opos6uldev: don't call enable_lcdif_clock
The mxsfb driver already calls enable_lcdif_clock.
Reviewed-by Fabio Estevam <[email protected]>
Signed-off-by Sébastien Szymanski <[email protected]>
---
Changes for v2:
- none
board/armadeus/opos6uldev/board.c | 3 --- 1 file changed, 3 deletions(-)
board/armadeus/opos6uldev/board.c +0 -3
@@ -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 */
Signature · 1 line
2.19.2
PATCH v2 2/2 opos6uldev: remove board_ehci_hcd_init function
This function sets the polarity of the PWR signal which is not used on the opos6uldev board. Remove it.
Reviewed-by Fabio Estevam <[email protected]>
Signed-off-by Sébastien Szymanski <[email protected]>
---
Changes for v2:
- better commit log
board/armadeus/opos6uldev/board.c | 21 --------------------- 1 file changed, 21 deletions(-)
board/armadeus/opos6uldev/board.c +0 -21
@@ -70,27 +70,6 @@ int setup_lcd(void) }#endif -#ifdef CONFIG_USB_EHCI_MX6 -#define USB_OTHERREGS_OFFSET 0x800 -#define UCTRL_PWR_POL (1 << 9) - -int board_ehci_hcd_init (int port) -{ -u32 *usbnc_usb_ctrl; - -if (port >1 ) -return -EINVAL ; - - usbnc_usb_ctrl = (u32 *)(USB_BASE_ADDR +USB_OTHERREGS_OFFSET + - port *4 ); - -/* Set Power polarity */ -setbits_le32 (usbnc_usb_ctrl,UCTRL_PWR_POL ); - -return 0 ; -} -#endif -int opos6ul_board_late_init (void ) {#ifdef CONFIG_VIDEO_MXS
Signature · 1 line
2.19.2
PATCH v2 2/2 opos6uldev: remove board_ehci_hcd_init function
Quoted 4 lines
This function sets the polarity of the PWR signal which is not used on the opos6uldev board. Remove it.
Reviewed-by Fabio Estevam <[email protected]>Signed-off-by Sébastien Szymanski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================