intel/smm: Define struct ied_header just once
Change-Id: I6fc083aa30d05c11c1b6db7b3facacf5ae857c92 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34855 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
		| @@ -19,11 +19,6 @@ | ||||
| #include <stdint.h> | ||||
| #include <cpu/x86/msr.h> | ||||
|  | ||||
| struct ied_header { | ||||
| 	char signature[10]; | ||||
| 	u32 size; | ||||
| 	u8 reserved[34]; | ||||
| } __packed; | ||||
|  | ||||
| struct smm_relocation_params { | ||||
| 	u32 smram_base; | ||||
|   | ||||
| @@ -22,11 +22,6 @@ | ||||
| #include <cpu/x86/smm.h> | ||||
| #include <soc/gpio.h> | ||||
|  | ||||
| struct ied_header { | ||||
| 	char signature[10]; | ||||
| 	u32 size; | ||||
| 	u8 reserved[34]; | ||||
| } __packed; | ||||
|  | ||||
| struct smm_relocation_params { | ||||
| 	uintptr_t ied_base; | ||||
|   | ||||
| @@ -20,11 +20,6 @@ | ||||
| #include <stdint.h> | ||||
| #include <cpu/x86/msr.h> | ||||
|  | ||||
| struct ied_header { | ||||
| 	char signature[10]; | ||||
| 	u32 size; | ||||
| 	u8 reserved[34]; | ||||
| } __packed; | ||||
|  | ||||
| struct smm_relocation_params { | ||||
| 	u32 smram_base; | ||||
|   | ||||
| @@ -21,11 +21,6 @@ | ||||
| #include <cpu/x86/smm.h> | ||||
| #include <soc/gpio.h> | ||||
|  | ||||
| struct ied_header { | ||||
| 	char signature[10]; | ||||
| 	u32 size; | ||||
| 	u8 reserved[34]; | ||||
| } __packed; | ||||
|  | ||||
| struct smm_relocation_params { | ||||
| 	uintptr_t ied_base; | ||||
|   | ||||
| @@ -23,11 +23,6 @@ | ||||
| #include <intelblocks/smihandler.h> | ||||
| #include <soc/gpio.h> | ||||
|  | ||||
| struct ied_header { | ||||
| 	char signature[10]; | ||||
| 	u32 size; | ||||
| 	u8 reserved[34]; | ||||
| } __packed; | ||||
|  | ||||
| struct smm_relocation_params { | ||||
| 	uintptr_t ied_base; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user