diff options
author | Ye Li <ye.li@nxp.com> | 2017-08-09 05:05:02 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-08-10 00:34:57 -0500 |
commit | 9b36a068d235c84e02f85676983fd35d9c48813e (patch) | |
tree | fa4c140a628da34e09c0f962b1716aeaebefcebe /board | |
parent | d6d9cc9e6ec36081b56f8233e0a9098ef29e0911 (diff) |
MLK-16175-2 imx8qm/qxp: Remove USB OTG power domain on function
Since the DM framework and ehci-mx6 driver will enable the power domains
for USB controller and PHY via power domain driver. No need to call
the power on function in board level.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/imx8qm_arm2/imx8qm_arm2.c | 12 | ||||
-rw-r--r-- | board/freescale/imx8qxp_arm2/imx8qxp_arm2.c | 13 | ||||
-rw-r--r-- | board/freescale/imx8qxp_mek/imx8qxp_mek.c | 2 |
3 files changed, 0 insertions, 27 deletions
diff --git a/board/freescale/imx8qm_arm2/imx8qm_arm2.c b/board/freescale/imx8qm_arm2/imx8qm_arm2.c index 5261ee9e3b..0c60ff01f7 100644 --- a/board/freescale/imx8qm_arm2/imx8qm_arm2.c +++ b/board/freescale/imx8qm_arm2/imx8qm_arm2.c @@ -483,14 +483,6 @@ void pci_init_board(void) } #endif -#ifdef CONFIG_USB_EHCI_MX6 -static void setup_otg(void) -{ - /* Enable usb power */ - init_otg_power(); -} -#endif - int board_init(void) { #ifdef CONFIG_MXC_GPIO @@ -507,10 +499,6 @@ int board_init(void) sata_init(); #endif #endif - -#ifdef CONFIG_USB_EHCI_MX6 - setup_otg(); -#endif return 0; } diff --git a/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c b/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c index b2f725f9a7..3d171ee998 100644 --- a/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c +++ b/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c @@ -496,14 +496,6 @@ void pci_init_board(void) #endif -#ifdef CONFIG_USB_EHCI_MX6 -static void setup_otg(void) -{ - /* Enable usb power */ - init_otg_power(); -} -#endif - int board_init(void) { #ifdef CONFIG_MXC_GPIO @@ -517,11 +509,6 @@ int board_init(void) #ifdef CONFIG_NAND_BOOT imx8qm_gpmi_nand_initialize(); #endif - -#ifdef CONFIG_USB_EHCI_MX6 - setup_otg(); -#endif - return 0; } diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c index f3f29372b9..85dc2a0b79 100644 --- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c +++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c @@ -418,8 +418,6 @@ static void setup_otg(void) { /* power control by IO expander 2 IO02*/ - /* Enable usb power */ - init_otg_power(); } #endif |