[edk2-devel] [edk2-platforms] [PATCH V2 05/14] CoffeeLakeSiliconPkg: TcoWdtHob.h Cleanup
Nate DeSimone
nathaniel.l.desimone at intel.com
Thu Nov 21 08:58:44 UTC 2019
Removes duplicate EFI_HOB_GENERIC_HEADER and EFI_HOB_GUID_TYPE
definitions from TcoWdtHob.h
Cc: Chasel Chiu <chasel.chiu at intel.com>
Cc: Michael Kubacki <michael.a.kubacki at intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty at intel.com>
Signed-off-by: Nate DeSimone <nathaniel.l.desimone at intel.com>
---
.../Include/Guid/TcoWdtHob.h | 23 ++-----------------
1 file changed, 2 insertions(+), 21 deletions(-)
diff --git a/Silicon/Intel/CoffeelakeSiliconPkg/Include/Guid/TcoWdtHob.h b/Silicon/Intel/CoffeelakeSiliconPkg/Include/Guid/TcoWdtHob.h
index 5bf2527963..9e83ed49c1 100644
--- a/Silicon/Intel/CoffeelakeSiliconPkg/Include/Guid/TcoWdtHob.h
+++ b/Silicon/Intel/CoffeelakeSiliconPkg/Include/Guid/TcoWdtHob.h
@@ -7,35 +7,16 @@
#ifndef __TCO_WDT_HOB_H__
#define __TCO_WDT_HOB_H__
+#include <PiPei.h>
+
#define TCO_WDT_HOB_GUID \
{ \
0x3e405418, 0xd8c, 0x4f1a, { 0xb0, 0x55, 0xbe, 0xf9, 0x8, 0x41, 0x46, 0x8d } \
}
-#ifndef _PEI_HOB_H_
-#ifndef __HOB__H__
-#ifndef __PI_HOB_H__
-typedef struct _EFI_HOB_GENERIC_HEADER {
- UINT16 HobType;
- UINT16 HobLength;
- UINT32 Reserved;
-} EFI_HOB_GENERIC_HEADER;
-
-typedef struct _EFI_HOB_GUID_TYPE {
- EFI_HOB_GENERIC_HEADER Header;
- EFI_GUID Name;
- //
- // Guid specific data goes here
- //
-} EFI_HOB_GUID_TYPE;
-#endif
-#endif
-#endif
-
typedef struct {
EFI_HOB_GUID_TYPE Header;
UINT8 TcoRebootHappened;
} TCO_WDT_HOB;
#endif
-
--
2.24.0.windows.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#51012): https://edk2.groups.io/g/devel/message/51012
Mute This Topic: https://groups.io/mt/61073529/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list