vc/amd/opensil/*/mpio/chip.h: add missing include guards
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Idef3b661b1cf3008373e61e0760a7dd3b9e9fede Reviewed-on: https://review.coreboot.org/c/coreboot/+/82261 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						
						Martin L Roth
					
				
			
			
				
	
			
			
			
						parent
						
							7898594b7c
						
					
				
				
					commit
					444edcba5d
				
			@@ -1,5 +1,8 @@
 | 
				
			|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
					/* SPDX-License-Identifier: GPL-2.0-only */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef OPENSIL_GENOA_POC_MPIO_CHIP_H
 | 
				
			||||||
 | 
					#define OPENSIL_GENOA_POC_MPIO_CHIP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdint.h>
 | 
					#include <stdint.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
@@ -64,3 +67,5 @@ struct vendorcode_amd_opensil_genoa_poc_mpio_config {
 | 
				
			|||||||
	uint8_t clock_pm : 1;
 | 
						uint8_t clock_pm : 1;
 | 
				
			||||||
	uint8_t bmc : 1;
 | 
						uint8_t bmc : 1;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* OPENSIL_GENOA_POC_MPIO_CHIP_H */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,8 @@
 | 
				
			|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
					/* SPDX-License-Identifier: GPL-2.0-only */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef OPENSIL_STUB_MPIO_CHIP_H
 | 
				
			||||||
 | 
					#define OPENSIL_STUB_MPIO_CHIP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <types.h>
 | 
					#include <types.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum mpio_engine_type {
 | 
					enum mpio_engine_type {
 | 
				
			||||||
@@ -73,3 +76,5 @@ struct vendorcode_amd_opensil_stub_mpio_config {
 | 
				
			|||||||
	enum pcie_slot_power_limit_scale slot_power_limit_scale;
 | 
						enum pcie_slot_power_limit_scale slot_power_limit_scale;
 | 
				
			||||||
	bool bmc;
 | 
						bool bmc;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* OPENSIL_STUB_MPIO_CHIP_H */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user