From 177e76bd8e9a863b4bd06a95f0e7cb5e4851812f Mon Sep 17 00:00:00 2001 From: Guo Mang Date: Wed, 3 Aug 2016 11:44:45 +0800 Subject: BraswellPlatformPkg: Restructure code in Common/Silicon/WinbondSio Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang Reviewed-by: David Wei --- BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcDriver.h | 1 + BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.c | 6 +++--- BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.h | 1 + BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcSio.h | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcDriver.h b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcDriver.h index 199fb97b69..c5521cf183 100644 --- a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcDriver.h +++ b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcDriver.h @@ -116,3 +116,4 @@ EnableInternalUartDevice ( ); #endif + diff --git a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.c b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.c index 6892d07d26..b3097c0452 100644 --- a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.c +++ b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.c @@ -47,8 +47,8 @@ static EFI_ISA_ACPI_RESOURCE mLpcWpce791ComDeviceResources[] = { // EFI_ISA_ACPI_RESOURCE_LIST mLpcWpce791DeviceList[] = { {{EISA_PNP_ID(0x303), 0}, mLpcWpce791Ps2KeyboardDeviceResources }, // PS/2 Keyboard Controller - {{EISA_PNP_ID(0xF03), 0}, mLpcWpce791Ps2MouseDeviceResources }, // PS/2 Mouse Controller - {{EISA_PNP_ID(0x501), 0}, mLpcWpce791ComDeviceResources }, // COM + {{EISA_PNP_ID(0xF03), 0}, mLpcWpce791Ps2MouseDeviceResources }, // PS/2 Mouse Controller + {{EISA_PNP_ID(0x501), 0}, mLpcWpce791ComDeviceResources }, // COM {{0, 0}, NULL } // End }; @@ -339,7 +339,7 @@ EnableInternalUartDevice ( VOID ) { - // + // // Program and enable PMC Base. // IoWrite32 (PCI_IDX, PCI_LPC_REG(R_PCH_LPC_PMC_BASE)); diff --git a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.h b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.h index 405b309e15..ec7adad57c 100644 --- a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.h +++ b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcIsaAcpi.h @@ -93,3 +93,4 @@ EmptyResourceList ( ); #endif + diff --git a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcSio.h b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcSio.h index ad0a7c8bf0..1c4bcb5286 100644 --- a/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcSio.h +++ b/BraswellPlatformPkg/Common/Silicon/WinbondSio/Wpce791/LpcSio.h @@ -94,3 +94,4 @@ DisableLogicalDevice ( ); #endif + -- cgit v1.2.3