diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-15 20:40:51 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-15 20:40:51 +0000 |
commit | 026e30c4bb80a73ac7c5c286711ae07b1c51108b (patch) | |
tree | 84fbc585ed86e924d54382baebef00ac7870e891 /Omap35xxPkg/PciEmulation | |
parent | 95572bd1b8b55fff0b714b3e3a5f923f38eae460 (diff) | |
download | edk2-026e30c4bb80a73ac7c5c286711ae07b1c51108b.tar.gz edk2-026e30c4bb80a73ac7c5c286711ae07b1c51108b.tar.bz2 edk2-026e30c4bb80a73ac7c5c286711ae07b1c51108b.zip |
Cleanup SerailIO drivers to have a device path and use PCD settings for various stuff. Also clean up a few coding convention items.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10009 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Omap35xxPkg/PciEmulation')
-rw-r--r-- | Omap35xxPkg/PciEmulation/PciEmulation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Omap35xxPkg/PciEmulation/PciEmulation.c b/Omap35xxPkg/PciEmulation/PciEmulation.c index fa44570b4c..bdba40353f 100644 --- a/Omap35xxPkg/PciEmulation/PciEmulation.c +++ b/Omap35xxPkg/PciEmulation/PciEmulation.c @@ -63,12 +63,12 @@ ConfigureUSBHost ( UINT8 Data = 0; // Take USB host out of force-standby mode - MmioWrite32(UHH_SYSCONFIG, UHH_SYSCONFIG_MIDLEMODE_NO_STANDBY + MmioWrite32 (UHH_SYSCONFIG, UHH_SYSCONFIG_MIDLEMODE_NO_STANDBY | UHH_SYSCONFIG_CLOCKACTIVITY_ON | UHH_SYSCONFIG_SIDLEMODE_NO_STANDBY | UHH_SYSCONFIG_ENAWAKEUP_ENABLE | UHH_SYSCONFIG_AUTOIDLE_ALWAYS_RUN); - MmioWrite32(UHH_HOSTCONFIG, UHH_HOSTCONFIG_P3_CONNECT_STATUS_DISCONNECT + MmioWrite32 (UHH_HOSTCONFIG, UHH_HOSTCONFIG_P3_CONNECT_STATUS_DISCONNECT | UHH_HOSTCONFIG_P2_CONNECT_STATUS_DISCONNECT | UHH_HOSTCONFIG_P1_CONNECT_STATUS_DISCONNECT | UHH_HOSTCONFIG_ENA_INCR_ALIGN_DISABLE @@ -80,7 +80,7 @@ ConfigureUSBHost ( // USB reset (GPIO 147 - Port 5 pin 19) output high MmioAnd32(GPIO5_BASE + GPIO_OE, ~BIT19); - MmioWrite32(GPIO5_BASE + GPIO_SETDATAOUT, BIT19); + MmioWrite32 (GPIO5_BASE + GPIO_SETDATAOUT, BIT19); // Get the Power IC protocol. Status = gBS->LocateProtocol(&gEmbeddedExternalDeviceProtocolGuid, NULL, (VOID **)&gTPS65950); |