mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-11 19:48:59 +01:00
ipq807x: uboot: usb init: code clean up
This patch involves changes which makes sure that usb init is done only when the config CONFIG_USB_XHCI_IPQ is defined. This change will allow us to disable or enable usb init as per our need in uboot. Change-Id: Icc0213470734856e763cddea747f17e3bc1ba51d Signed-off-by: speriaka <speriaka@codeaurora.org>
This commit is contained in:
parent
9bebc1c4ea
commit
58ec68d67e
1 changed files with 2 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ void board_pci_deinit()
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_XHCI_IPQ
|
||||
void board_usb_deinit(int id)
|
||||
{
|
||||
void __iomem *boot_clk_ctl, *usb_bcr, *qusb2_phy_bcr;
|
||||
|
|
@ -874,6 +875,7 @@ int ipq_board_usb_init(void)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void ipq_fdt_fixup_socinfo(void *blob)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue