mirror of
https://github.com/revyos/th1520-vendor-uboot.git
synced 2026-06-21 09:02:25 +02:00
th1520: enable usb host support
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
||||
config {
|
||||
huben-gpio = <&gpio1_porta 16 0>;
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0xc0000000 0x0 0x40000000>;
|
||||
|
||||
@@ -54,8 +54,6 @@ int board_usb_cleanup(int index, enum usb_init_type init)
|
||||
|
||||
int xhci_hcd_init(int index, struct xhci_hccr **hccr, struct xhci_hcor **hcor)
|
||||
{
|
||||
|
||||
|
||||
int ret = board_usb_init(index, USB_INIT_HOST);
|
||||
if (ret != 0) {
|
||||
puts("Failed to initialize board for USB\n");
|
||||
|
||||
@@ -112,3 +112,8 @@ CONFIG_BOARD_RNG_SEED=y
|
||||
CONFIG_FIXUP_MEMORY_REGION=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_LIGHT_AON_CONF=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_DWC3=y
|
||||
# CONFIG_DOS_PARTITION is not set
|
||||
CONFIG_CMD_USB=y
|
||||
|
||||
@@ -111,3 +111,8 @@ CONFIG_BOARD_RNG_SEED=y
|
||||
CONFIG_FIXUP_MEMORY_REGION=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_LIGHT_AON_CONF=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_DWC3=y
|
||||
# CONFIG_DOS_PARTITION is not set
|
||||
CONFIG_CMD_USB=y
|
||||
|
||||
Reference in New Issue
Block a user