diff options
author | Guo Mang <mang.guo@intel.com> | 2017-08-22 14:21:51 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-08-24 18:47:48 +0800 |
commit | 6c9d8b71de4af938e40160add4dafbf4cac392cd (patch) | |
tree | 83da78ec8cbe716cb8cc6583bf3be6a751714532 /Platform/BroxtonPlatformPkg/Board | |
parent | 99858dd36345505607eea07765cf06d16ae03806 (diff) | |
download | edk2-platforms-6c9d8b71de4af938e40160add4dafbf4cac392cd.tar.xz |
BroxtonPlatformPkg: Code cleanup
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Board')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.c | 11 | ||||
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.h | 16 |
2 files changed, 15 insertions, 12 deletions
diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.c b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.c index 122ed9a89a..24cfaf3a7d 100644 --- a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.c +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.c @@ -13,16 +13,7 @@ **/
-#include <PiPei.h>
-#include <Library/PeiServicesLib.h>
-#include <Library/PcdLib.h>
-#include <Library/BaseMemoryLib.h>
-#include <Library/DebugLib.h>
-#include <Guid/PlatformInfo_Aplk.h>
-#include <Ppi/BoardInitSignalling.h>
#include "BoardInit.h"
-#include "PlatformId.h"
-#include "BoardInitMiscs.h"
EFI_STATUS
EFIAPI
@@ -60,7 +51,7 @@ BensonGlacierPreMemInit ( UINT8 FabId;
BoardId = 0;
- FabId = 0;
+ FabId = 0;
Status = PeiServicesLocatePpi (
&gBoardPreMemInitDoneGuid,
0,
diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.h b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.h index 0a549c2ddd..31537764d6 100644 --- a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.h +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPreMem/BoardInit.h @@ -18,10 +18,22 @@ #define _BENSON_BOARDINIT_H_
#include <PiPei.h>
-#include <Library/IoLib.h>
+
+#include <Guid/PlatformInfo_Aplk.h>
+
+#include <Library/BaseMemoryLib.h>
+#include <Library/DebugLib.h>
+#include <Library/GpioLib.h>
#include <Library/HobLib.h>
+#include <Library/IoLib.h>
+#include <Library/PcdLib.h>
+#include <Library/PeiServicesLib.h>
#include <Library/TimerLib.h>
-#include <Guid/PlatformInfo_Aplk.h>
+
+#include <Ppi/BoardInitSignalling.h>
+
+#include "BoardInitMiscs.h"
+#include "PlatformId.h"
VOID BensonGpioTest (VOID);
|