aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/enable_usbdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/enable_usbdebug.c')
-rw-r--r--src/soc/amd/stoneyridge/enable_usbdebug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/amd/stoneyridge/enable_usbdebug.c b/src/soc/amd/stoneyridge/enable_usbdebug.c
index ce84a47929..90bd6e8f33 100644
--- a/src/soc/amd/stoneyridge/enable_usbdebug.c
+++ b/src/soc/amd/stoneyridge/enable_usbdebug.c
@@ -26,10 +26,7 @@
pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
{
- /* Enable all of the USB controllers */
- outb(PM_USB_ENABLE, PM_INDEX);
- outb(PM_USB_ALL_CONTROLLERS, PM_DATA);
-
+ pm_io_write8(PM_USB_ENABLE, PM_USB_ALL_CONTROLLERS);
return SOC_EHCI1_DEV;
}