soc/amd/stoneyridge: unify and align include guards with picasso

Change-Id: I0cc06e33ed5c9b9bd97ed1f10f9c2d8019b1b5ac
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47582
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2020-11-14 00:39:45 +01:00
parent 4feef09c65
commit e70c32f7b7
11 changed files with 33 additions and 33 deletions

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOC_STONEYRIDGE_ACPI_H__ #ifndef AMD_STONEYRIDGE_ACPI_H
#define __SOC_STONEYRIDGE_ACPI_H__ #define AMD_STONEYRIDGE_ACPI_H
#include <acpi/acpi.h> #include <acpi/acpi.h>
@ -16,4 +16,4 @@ unsigned long southbridge_write_acpi_tables(const struct device *device,
const char *soc_acpi_name(const struct device *dev); const char *soc_acpi_name(const struct device *dev);
#endif /* __SOC_STONEYRIDGE_ACPI_H__ */ #endif /* AMD_STONEYRIDGE_ACPI_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __AMD_PCI_INT_DEFS_H__ #ifndef AMD_STONEYRIDGE_AMD_PCI_INT_DEFS_H
#define __AMD_PCI_INT_DEFS_H__ #define AMD_STONEYRIDGE_AMD_PCI_INT_DEFS_H
/* /*
* PIRQ and device routing - these define the index into the * PIRQ and device routing - these define the index into the
@ -44,4 +44,4 @@
#define PIRQ_UART0 0x74 #define PIRQ_UART0 0x74
#define PIRQ_UART1 0x75 #define PIRQ_UART1 0x75
#endif /* __AMD_PCI_INT_DEFS_H__ */ #endif /* AMD_STONEYRIDGE_AMD_PCI_INT_DEFS_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STONEYRIDGE_CPU_H__ #ifndef AMD_STONEYRIDGE_CPU_H
#define __STONEYRIDGE_CPU_H__ #define AMD_STONEYRIDGE_CPU_H
/* /*
* Set a variable MTRR in bootblock and/or romstage. AGESA will use the lowest * Set a variable MTRR in bootblock and/or romstage. AGESA will use the lowest
@ -16,4 +16,4 @@
void check_mca(void); void check_mca(void);
#endif /* __STONEYRIDGE_CPU_H__ */ #endif /* AMD_STONEYRIDGE_CPU_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STONEYRIDGE_GPIO_H__ #ifndef AMD_STONEYRIDGE_GPIO_H
#define __STONEYRIDGE_GPIO_H__ #define AMD_STONEYRIDGE_GPIO_H
#define GPIO_DEVICE_NAME "AMD0030" #define GPIO_DEVICE_NAME "AMD0030"
#define GPIO_DEVICE_DESC "GPIO Controller" #define GPIO_DEVICE_DESC "GPIO Controller"
@ -292,4 +292,4 @@
#define GPIO_2_EVENT GEVENT_8 #define GPIO_2_EVENT GEVENT_8
#endif /* __ACPI__ */ #endif /* __ACPI__ */
#endif /* __STONEYRIDGE_GPIO_H__ */ #endif /* AMD_STONEYRIDGE_GPIO_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STONEYRIDGE_I2C_H__ #ifndef AMD_STONEYRIDGE_I2C_H
#define __STONEYRIDGE_I2C_H__ #define AMD_STONEYRIDGE_I2C_H
#include <types.h> #include <types.h>
#include <soc/gpio.h> #include <soc/gpio.h>
@ -29,4 +29,4 @@ struct soc_amd_i2c_save {
void sb_reset_i2c_slaves(void); void sb_reset_i2c_slaves(void);
#endif /* __STONEYRIDGE_I2C_H__ */ #endif /* AMD_STONEYRIDGE_I2C_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __SOC_STONEYRIDGE_IOMAP_H__ #ifndef AMD_STONEYRIDGE_IOMAP_H
#define __SOC_STONEYRIDGE_IOMAP_H__ #define AMD_STONEYRIDGE_IOMAP_H
/* MMIO Ranges */ /* MMIO Ranges */
#define PSP_MAILBOX_BAR3_BASE 0xf0a00000 #define PSP_MAILBOX_BAR3_BASE 0xf0a00000
@ -51,4 +51,4 @@
#define BIOSRAM_UMA_SIZE 0xf4 /* 4 bytes */ #define BIOSRAM_UMA_SIZE 0xf4 /* 4 bytes */
#define BIOSRAM_UMA_BASE 0xf8 /* 8 bytes */ #define BIOSRAM_UMA_BASE 0xf8 /* 8 bytes */
#endif /* __SOC_STONEYRIDGE_IOMAP_H__ */ #endif /* AMD_STONEYRIDGE_IOMAP_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PI_STONEYRIDGE_NORTHBRIDGE_H__ #ifndef AMD_STONEYRIDGE_NORTHBRIDGE_H
#define __PI_STONEYRIDGE_NORTHBRIDGE_H__ #define AMD_STONEYRIDGE_NORTHBRIDGE_H
#include <device/device.h> #include <device/device.h>
#include <types.h> #include <types.h>
@ -89,4 +89,4 @@ void fam15_finalize(void *chip_info);
void set_warm_reset_flag(void); void set_warm_reset_flag(void);
int is_warm_reset(void); int is_warm_reset(void);
#endif /* __PI_STONEYRIDGE_NORTHBRIDGE_H__ */ #endif /* AMD_STONEYRIDGE_NORTHBRIDGE_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PI_STONEYRIDGE_PCI_DEVS_H__ #ifndef AMD_STONEYRIDGE_PCI_DEVS_H
#define __PI_STONEYRIDGE_PCI_DEVS_H__ #define AMD_STONEYRIDGE_PCI_DEVS_H
#include <device/pci_def.h> #include <device/pci_def.h>
#include <amdblocks/pci_devs.h> #include <amdblocks/pci_devs.h>
@ -201,4 +201,4 @@
#define SD_DEVFN PCI_DEVFN(SD_DEV, SD_FUNC) #define SD_DEVFN PCI_DEVFN(SD_DEV, SD_FUNC)
#define SOC_SD_DEV _SOC_DEV(SD_DEV, SD_FUNC) #define SOC_SD_DEV _SOC_DEV(SD_DEV, SD_FUNC)
#endif /* __PI_STONEYRIDGE_PCI_DEVS_H__ */ #endif /* AMD_STONEYRIDGE_PCI_DEVS_H */

View File

@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STONEYRIDGE_ROMSTAGE_H__ #ifndef AMD_STONEYRIDGE_ROMSTAGE_H
#define __STONEYRIDGE_ROMSTAGE_H__ #define AMD_STONEYRIDGE_ROMSTAGE_H
void mainboard_romstage_entry_s3(int s3_resume); void mainboard_romstage_entry_s3(int s3_resume);
#endif /* __STONEYRIDGE_ROMSTAGE_H__ */ #endif /* AMD_STONEYRIDGE_ROMSTAGE_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUTHBRIDGE_AMD_PI_STONEYRIDGE_SMI_H__ #ifndef AMD_STONEYRIDGE_SMI_H
#define __SOUTHBRIDGE_AMD_PI_STONEYRIDGE_SMI_H__ #define AMD_STONEYRIDGE_SMI_H
#define SMI_GEVENTS 24 #define SMI_GEVENTS 24
#define SCIMAPS 58 #define SCIMAPS 58
@ -218,4 +218,4 @@ void disable_gevent_smi(uint8_t gevent);
void gpe_configure_sci(const struct sci_source *scis, size_t num_gpes); void gpe_configure_sci(const struct sci_source *scis, size_t num_gpes);
void soc_route_sci(uint8_t event); void soc_route_sci(uint8_t event);
#endif /* __SOUTHBRIDGE_AMD_PI_STONEYRIDGE_SMI_H__ */ #endif /* AMD_STONEYRIDGE_SMI_H */

View File

@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STONEYRIDGE_H__ #ifndef AMD_STONEYRIDGE_SOUTHBRIDGE_H
#define __STONEYRIDGE_H__ #define AMD_STONEYRIDGE_SOUTHBRIDGE_H
#include <types.h> #include <types.h>
#include <device/device.h> #include <device/device.h>
@ -349,4 +349,4 @@ void i2c_soc_early_init(void);
/* Initialize all the i2c buses that are not marked with early init. */ /* Initialize all the i2c buses that are not marked with early init. */
void i2c_soc_init(void); void i2c_soc_init(void);
#endif /* __STONEYRIDGE_H__ */ #endif /* AMD_STONEYRIDGE_SOUTHBRIDGE_H */