diff options
author | Martin Roth <martinroth@google.com> | 2017-08-17 15:15:55 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-28 15:44:46 +0000 |
commit | 933ca5b9bc808fb15b6d9fe5c595d9bd1e0565fd (patch) | |
tree | 249ef592516c9759ce5f4d923abf036b75614142 /src/soc/amd/common | |
parent | b233916f504cd28be9d4d5710328772ba4b28a5a (diff) |
soc/amd: Standardize guards on header files
The guards in the header files were inconsistent. Some had no leading or
trailing underscores, some had one, some had both leading and trailing.
Change all to double leading & trailing underscores.
Change all comments to have a space before them instead of tabs
BUG=b:62235990
Test=Build Kahlee
Change-Id: I4466df529ab201c922096a31d7438381778b582f
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/21073
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/BiosCallOuts.h | 6 | ||||
-rw-r--r-- | src/soc/amd/common/agesawrapper.h | 6 | ||||
-rw-r--r-- | src/soc/amd/common/agesawrapper_call.h | 6 | ||||
-rw-r--r-- | src/soc/amd/common/amd_defs.h | 4 | ||||
-rw-r--r-- | src/soc/amd/common/amd_pci_util.h | 6 | ||||
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/psp.h | 6 | ||||
-rw-r--r-- | src/soc/amd/common/dimmSpd.h | 4 |
7 files changed, 19 insertions, 19 deletions
diff --git a/src/soc/amd/common/BiosCallOuts.h b/src/soc/amd/common/BiosCallOuts.h index 50931dcfb1..44564665eb 100644 --- a/src/soc/amd/common/BiosCallOuts.h +++ b/src/soc/amd/common/BiosCallOuts.h @@ -14,8 +14,8 @@ * GNU General Public License for more details. */ -#ifndef CALLOUTS_AMD_AGESA_H -#define CALLOUTS_AMD_AGESA_H +#ifndef __CALLOUTS_AMD_AGESA_H__ +#define __CALLOUTS_AMD_AGESA_H__ #include <Porting.h> #include <AGESA.h> @@ -64,4 +64,4 @@ typedef struct { extern const BIOS_CALLOUT_STRUCT BiosCallouts[]; extern const int BiosCalloutsLen; -#endif /* CALLOUTS_AMD_AGESA_H */ +#endif /* __CALLOUTS_AMD_AGESA_H__ */ diff --git a/src/soc/amd/common/agesawrapper.h b/src/soc/amd/common/agesawrapper.h index 97d52f7c10..b42f531352 100644 --- a/src/soc/amd/common/agesawrapper.h +++ b/src/soc/amd/common/agesawrapper.h @@ -13,8 +13,8 @@ * GNU General Public License for more details. */ -#ifndef _AGESAWRAPPER_H_ -#define _AGESAWRAPPER_H_ +#ifndef __AGESAWRAPPER_H__ +#define __AGESAWRAPPER_H__ #include <stdint.h> #include <Porting.h> @@ -56,4 +56,4 @@ const void *agesawrapper_locate_module(const CHAR8 name[8]); void OemPostParams(AMD_POST_PARAMS *PostParams); -#endif /* _AGESAWRAPPER_H_ */ +#endif /* __AGESAWRAPPER_H__ */ diff --git a/src/soc/amd/common/agesawrapper_call.h b/src/soc/amd/common/agesawrapper_call.h index 64c97f6640..21a1e23d54 100644 --- a/src/soc/amd/common/agesawrapper_call.h +++ b/src/soc/amd/common/agesawrapper_call.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef _AGESAWRAPPER_CALL_H_ -#define _AGESAWRAPPER_CALL_H_ +#ifndef __AGESAWRAPPER_CALL_H__ +#define __AGESAWRAPPER_CALL_H__ #include <stdint.h> #include <console/console.h> @@ -56,4 +56,4 @@ static inline u32 do_agesawrapper(AGESA_STATUS (*func)(void), const char *name) #define AGESAWRAPPER_PRE_CONSOLE(func) agesawrapper_ ## func() -#endif +#endif /* __AGESAWRAPPER_CALL_H__ */ diff --git a/src/soc/amd/common/amd_defs.h b/src/soc/amd/common/amd_defs.h index 55db30f409..e4ce1dba22 100644 --- a/src/soc/amd/common/amd_defs.h +++ b/src/soc/amd/common/amd_defs.h @@ -14,8 +14,8 @@ */ -#ifndef _AMD_SB_DEFS_H_ -#define _AMD_SB_DEFS_H_ +#ifndef __AMD_SB_DEFS_H__ +#define __AMD_SB_DEFS_H__ #define AMD_SB_ACPI_MMIO_ADDR 0xfed80000ul diff --git a/src/soc/amd/common/amd_pci_util.h b/src/soc/amd/common/amd_pci_util.h index 4789542e58..b8d48ef3e3 100644 --- a/src/soc/amd/common/amd_pci_util.h +++ b/src/soc/amd/common/amd_pci_util.h @@ -13,8 +13,8 @@ * GNU General Public License for more details. */ -#ifndef AMD_PCI_UTIL_H -#define AMD_PCI_UTIL_H +#ifndef __AMD_PCI_UTIL_H__ +#define __AMD_PCI_UTIL_H__ #include <stdint.h> #include <amd_pci_int_defs.h> @@ -38,4 +38,4 @@ void write_pci_int_idx(u8 index, int mode, u8 data); void write_pci_cfg_irqs(void); void write_pci_int_table(void); -#endif /* AMD_PCI_UTIL_H */ +#endif /* __AMD_PCI_UTIL_H__ */ diff --git a/src/soc/amd/common/block/include/amdblocks/psp.h b/src/soc/amd/common/block/include/amdblocks/psp.h index c70c0b1032..42b9fb7178 100644 --- a/src/soc/amd/common/block/include/amdblocks/psp.h +++ b/src/soc/amd/common/block/include/amdblocks/psp.h @@ -13,8 +13,8 @@ * GNU General Public License for more details. */ -#ifndef AMD_PSP_H -#define AMD_PSP_H +#ifndef __AMD_PSP_H__ +#define __AMD_PSP_H__ #include <stdint.h> #include <compiler.h> @@ -94,4 +94,4 @@ struct mbox_default_buffer { /* command-response buffer unused by command */ /* BIOS-to-PSP functions return 0 if successful, else negative value */ int psp_notify_dram(void); -#endif /* AMD_PSP_H */ +#endif /* __AMD_PSP_H__ */ diff --git a/src/soc/amd/common/dimmSpd.h b/src/soc/amd/common/dimmSpd.h index 75a7990c2c..cdcdb731f5 100644 --- a/src/soc/amd/common/dimmSpd.h +++ b/src/soc/amd/common/dimmSpd.h @@ -13,8 +13,8 @@ * GNU General Public License for more details. */ -#ifndef _DIMMSPD_H_ -#define _DIMMSPD_H_ +#ifndef __DIMMSPD_H__ +#define __DIMMSPD_H__ AGESA_STATUS AmdMemoryReadSPD(IN UINT32 Func, IN UINTN Data, |