diff options
Diffstat (limited to 'src/southbridge/amd/pi')
-rw-r--r-- | src/southbridge/amd/pi/hudson/enable_usbdebug.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/amd/pi/hudson/enable_usbdebug.c b/src/southbridge/amd/pi/hudson/enable_usbdebug.c index 8462c2bc77..abec986dbe 100644 --- a/src/southbridge/amd/pi/hudson/enable_usbdebug.c +++ b/src/southbridge/amd/pi/hudson/enable_usbdebug.c @@ -4,7 +4,7 @@ #define __SIMPLE_DEVICE__ #include <stdint.h> -#include <arch/io.h> +#include <amdblocks/acpimmio.h> #include <device/mmio.h> #include <device/pci_ehci.h> #include <device/pci_def.h> @@ -15,8 +15,7 @@ pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx) { /* Enable all of the USB controllers */ - outb(0xEF, PM_INDEX); - outb(0x7F, PM_DATA); + pm_io_write8(0xef, 0x7f); if (hcd_idx == 3) return PCI_DEV(0, 0x16, 0); |