aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/BiosCallOuts.h6
-rw-r--r--src/soc/amd/common/agesawrapper.h6
-rw-r--r--src/soc/amd/common/agesawrapper_call.h6
-rw-r--r--src/soc/amd/common/amd_defs.h4
-rw-r--r--src/soc/amd/common/amd_pci_util.h6
-rw-r--r--src/soc/amd/common/block/include/amdblocks/psp.h6
-rw-r--r--src/soc/amd/common/dimmSpd.h4
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,