]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/x86/cpu/ivybridge/usb_ehci.c
3 * Copyright (C) 2008-2009 coresystems GmbH
5 * SPDX-License-Identifier: GPL-2.0
11 #include <asm/arch/pch.h>
13 void bd82x6x_usb_ehci_init(pci_dev_t dev
)
17 /* Disable Wake on Disconnect in RMH */
18 reg32
= readl(RCB_REG(0x35b0));
20 writel(reg32
, RCB_REG(0x35b0));
22 debug("EHCI: Setting up controller.. ");
23 reg32
= x86_pci_read_config32(dev
, PCI_COMMAND
);
24 reg32
|= PCI_COMMAND_MASTER
;
25 /* reg32 |= PCI_COMMAND_SERR; */
26 x86_pci_write_config32(dev
, PCI_COMMAND
, reg32
);