diff --git a/edk2-rockchip/Platform/Radxa/ROCK5A/Library/RockchipPlatformLib/RockchipPlatformLib.c b/edk2-rockchip/Platform/Radxa/ROCK5A/Library/RockchipPlatformLib/RockchipPlatformLib.c index 1f953207..1aedd849 100644 --- a/edk2-rockchip/Platform/Radxa/ROCK5A/Library/RockchipPlatformLib/RockchipPlatformLib.c +++ b/edk2-rockchip/Platform/Radxa/ROCK5A/Library/RockchipPlatformLib/RockchipPlatformLib.c @@ -192,12 +192,14 @@ UsbPortPowerEnable ( ) { DEBUG((EFI_D_WARN, "UsbPortPowerEnable called\n")); - + + /* vcc5v0_host */ GpioPinSetDirection (4, GPIO_PIN_PB5, GPIO_PIN_OUTPUT); GpioPinWrite (4, GPIO_PIN_PB5, TRUE); - GpioPinSetDirection (0, GPIO_PIN_PD4, GPIO_PIN_OUTPUT); - GpioPinWrite (0, GPIO_PIN_PD4, TRUE); + /* vcc_5v0 */ + GpioPinSetDirection (4, GPIO_PIN_PA3, GPIO_PIN_OUTPUT); + GpioPinWrite (4, GPIO_PIN_PA3, TRUE); } VOID