header files: Fix guard name comments to match guard names
This just updates existing guard name comments on the header files to match the actual #define name. As a side effect, if there was no newline at the end of these files, one was added. Change-Id: Ia2cd8057f2b1ceb0fa1b946e85e0c16a327a04d7 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12900 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
a656362402
commit
fd277d8f94
|
@ -69,4 +69,4 @@
|
||||||
*/
|
*/
|
||||||
#define CALGN(code...)
|
#define CALGN(code...)
|
||||||
|
|
||||||
#endif /* __ARM_ASMLIB_H */
|
#endif /* __ARM_ASMLIB_H__ */
|
||||||
|
|
|
@ -20,4 +20,4 @@
|
||||||
|
|
||||||
void set_cntfrq(uint32_t);
|
void set_cntfrq(uint32_t);
|
||||||
|
|
||||||
#endif //__ARM_CLOCK_H_
|
#endif /* __ARM_CLOCK_H_ */
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
#define ELF_DATA ELFDATA2LSB
|
#define ELF_DATA ELFDATA2LSB
|
||||||
#define ELF_ARCH EM_AARCH64
|
#define ELF_ARCH EM_AARCH64
|
||||||
|
|
||||||
#endif /* ASM_ARM_BOOT_H */
|
#endif /* ASM_ARM64_BOOT_H */
|
||||||
|
|
|
@ -20,4 +20,4 @@
|
||||||
|
|
||||||
void set_cntfrq(uint32_t);
|
void set_cntfrq(uint32_t);
|
||||||
|
|
||||||
#endif //__ARM_CLOCK_H_
|
#endif /* __ARM_CLOCK_H_ */
|
||||||
|
|
|
@ -104,4 +104,4 @@ typedef struct bl31_params {
|
||||||
image_info_t *bl33_image_info;
|
image_info_t *bl33_image_info;
|
||||||
} bl31_params_t;
|
} bl31_params_t;
|
||||||
|
|
||||||
#endif /* __ARM_TF_H__ */
|
#endif /* __ARM_TF_TEMP_H__ */
|
||||||
|
|
|
@ -586,4 +586,4 @@ void tlbivaa_el1(uint64_t va);
|
||||||
|
|
||||||
#endif // __ASSEMBLY__
|
#endif // __ASSEMBLY__
|
||||||
|
|
||||||
#endif // __ARCH_LIB_HELPERS_H__
|
#endif /* __ARCH_LIB_HELPERS_H__ */
|
||||||
|
|
|
@ -157,4 +157,4 @@ void mmu_enable(void);
|
||||||
/* Disable the MMU (which also disables dcache but not icache). */
|
/* Disable the MMU (which also disables dcache but not icache). */
|
||||||
void mmu_disable(void);
|
void mmu_disable(void);
|
||||||
|
|
||||||
#endif // __ARCH_ARM64_MMU_H__
|
#endif /* __ARCH_ARM64_MMU_H__ */
|
||||||
|
|
|
@ -43,4 +43,4 @@ void pmm_handleInt(void);
|
||||||
|
|
||||||
void pmm_test(void);
|
void pmm_test(void);
|
||||||
|
|
||||||
#endif // _YABEL_PMM_H
|
#endif /* _YABEL_PMM_H_ */
|
||||||
|
|
|
@ -20,4 +20,4 @@
|
||||||
|
|
||||||
const optionrom_vbt_t *fsp_get_vbt(uint32_t *vbt_len);
|
const optionrom_vbt_t *fsp_get_vbt(uint32_t *vbt_len);
|
||||||
|
|
||||||
#endif /* _FSP_GOP_H_ */
|
#endif /* _FSP1_1_GOP_H_ */
|
||||||
|
|
|
@ -127,4 +127,4 @@ int max77686_volsetting(unsigned int bus, enum max77686_regnum reg,
|
||||||
*/
|
*/
|
||||||
int max77686_disable_backup_batt(unsigned int bus);
|
int max77686_disable_backup_batt(unsigned int bus);
|
||||||
|
|
||||||
#endif /* __MAX77686_PMIC_H_ */
|
#endif /* __MAX77686_H_ */
|
||||||
|
|
|
@ -37,4 +37,4 @@ static inline void __ne2k_tx_byte(u8 data) {}
|
||||||
static inline void __ne2k_tx_flush(void) {}
|
static inline void __ne2k_tx_flush(void) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _NE2K_H */
|
#endif /* _NE2K_H__ */
|
||||||
|
|
|
@ -487,4 +487,4 @@
|
||||||
|
|
||||||
#define POST_INTR_SEG_JUMP (0x0F0)
|
#define POST_INTR_SEG_JUMP (0x0F0)
|
||||||
|
|
||||||
#endif /* THE_ALMIGHTY_POST_CODES_H */
|
#endif /* POST_CODES_H */
|
||||||
|
|
|
@ -9,4 +9,4 @@ static void report_bist_failure(u32 bist)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CPU_Xf86_BIST_H */
|
#endif /* CPU_X86_BIST_H */
|
||||||
|
|
|
@ -309,4 +309,4 @@ mrs_cmd_t ddr3_get_mr2(enum ddr3_mr2_rttwr rtt_wr,
|
||||||
mrs_cmd_t ddr3_get_mr3(char dataflow_from_mpr);
|
mrs_cmd_t ddr3_get_mr3(char dataflow_from_mpr);
|
||||||
mrs_cmd_t ddr3_mrs_mirror_pins(mrs_cmd_t cmd);
|
mrs_cmd_t ddr3_mrs_mirror_pins(mrs_cmd_t cmd);
|
||||||
|
|
||||||
#endif /* DEVICE_DRAM_DDR3_H */
|
#endif /* DEVICE_DRAM_DDR3L_H */
|
||||||
|
|
|
@ -36,4 +36,4 @@ void nb_Late_Post_Init(void);
|
||||||
void nb_Pcie_Early_Init(void);
|
void nb_Pcie_Early_Init(void);
|
||||||
void nb_Pcie_Late_Init(void);
|
void nb_Pcie_Late_Init(void);
|
||||||
|
|
||||||
#endif//_RD890_EARLY_H_
|
#endif /* _NB_CIMX_H_ */
|
||||||
|
|
|
@ -78,4 +78,4 @@ void northbridge_acpi_fill_ssdt_generator(device_t device);
|
||||||
|
|
||||||
#endif /* #ifndef __ASSEMBLER__ */
|
#endif /* #ifndef __ASSEMBLER__ */
|
||||||
#endif /* #ifndef __ACPI__ */
|
#endif /* #ifndef __ACPI__ */
|
||||||
#endif /* #ifndef __NORTHBRIDGE_INTEL_RANGELEY_NORTHBRIDGE_H__ */
|
#endif /* __NORTHBRIDGE_INTEL_RANGELEY_NORTHBRIDGE_H__ */
|
||||||
|
|
|
@ -154,6 +154,6 @@ enum drc_reg_set {
|
||||||
#define DRC_REG_WRITE(unit, channel, reg, rv) \
|
#define DRC_REG_WRITE(unit, channel, reg, rv) \
|
||||||
soc_reg32_set((volatile uint32*)(channel + 4 * reg), rv)
|
soc_reg32_set((volatile uint32*)(channel + 4 * reg), rv)
|
||||||
|
|
||||||
#endif /* #ifndef __SOC_BROADCOM_CYGNUS_DDR_BIST_H__*/
|
#endif /* __SOC_BROADCOM_CYGNUS_DDR_BIST_H__ */
|
||||||
|
|
||||||
/* End of File */
|
/* End of File */
|
||||||
|
|
|
@ -11266,6 +11266,6 @@
|
||||||
#define DDR34_CORE_PHY_BYTE_LANE_1_BL_SPARE_REG_reserved_for_eco0_SHIFT 0
|
#define DDR34_CORE_PHY_BYTE_LANE_1_BL_SPARE_REG_reserved_for_eco0_SHIFT 0
|
||||||
#define DDR34_CORE_PHY_BYTE_LANE_1_BL_SPARE_REG_reserved_for_eco0_DEFAULT 0x00000000
|
#define DDR34_CORE_PHY_BYTE_LANE_1_BL_SPARE_REG_reserved_for_eco0_DEFAULT 0x00000000
|
||||||
|
|
||||||
#endif /* #ifndef __SOC_BROADCOM_CYGNUS_PHY_AND28_E2_H__ */
|
#endif /* __SOC_BROADCOM_CYGNUS_PHY_AND28_E2_H__ */
|
||||||
|
|
||||||
/* End of File */
|
/* End of File */
|
||||||
|
|
|
@ -1145,6 +1145,6 @@ extern int soc_ydc_ddr_bist_run(int unit, int phy_ndx,
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Datatype Definitions.
|
* Datatype Definitions.
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
#endif /* #ifndef __SOC_BROADCOM_CYGNUS_YDC_DDR_BIST_H__ */
|
#endif /* __SOC_BROADCOM_CYGNUS_YDC_DDR_BIST_H__ */
|
||||||
|
|
||||||
/* End of File */
|
/* End of File */
|
||||||
|
|
|
@ -28,4 +28,4 @@ static inline int context_avp(void)
|
||||||
return read32(uptag) == avp_id;
|
return read32(uptag) == avp_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* define __SOC_NVIDIA_TEGRA132_INCLUDE_SOC_ID_H__ */
|
#endif /* __SOC_NVIDIA_TEGRA132_INCLUDE_SOC_ID_H__ */
|
||||||
|
|
|
@ -28,4 +28,4 @@ static inline int context_avp(void)
|
||||||
return read32(uptag) == avp_id;
|
return read32(uptag) == avp_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* define __SOC_NVIDIA_TEGRA210_INCLUDE_SOC_ID_H__ */
|
#endif /* __SOC_NVIDIA_TEGRA210_INCLUDE_SOC_ID_H__ */
|
||||||
|
|
|
@ -194,4 +194,4 @@ void nand_clock_config(void);
|
||||||
void usb_clock_config(void);
|
void usb_clock_config(void);
|
||||||
int audio_clock_config(unsigned frequency);
|
int audio_clock_config(unsigned frequency);
|
||||||
|
|
||||||
#endif /* __PLATFORM_IPQ860X_CLOCK_H_ */
|
#endif /* __IPQ860X_CLOCK_H_ */
|
||||||
|
|
|
@ -276,4 +276,4 @@ static inline struct ipq_spi_slave *to_ipq_spi(struct spi_slave *slave)
|
||||||
return container_of(slave, struct ipq_spi_slave, slave);
|
return container_of(slave, struct ipq_spi_slave, slave);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _IPQ_SPI_H_ */
|
#endif /* _IPQ806X_SPI_H_ */
|
||||||
|
|
|
@ -81,4 +81,4 @@ static inline u32 get_fb_base_kb(void)
|
||||||
return RAM_BASE_KB + RAM_SIZE_KB - FB_SIZE_KB;
|
return RAM_BASE_KB + RAM_SIZE_KB - FB_SIZE_KB;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _EXYNOS5250_CPU_H */
|
#endif /* CPU_SAMSUNG_EXYNOS5250_CPU_H */
|
||||||
|
|
|
@ -92,4 +92,4 @@ static inline u32 get_fb_base_kb(void)
|
||||||
/* Procedures to setup Exynos5420 CPU */
|
/* Procedures to setup Exynos5420 CPU */
|
||||||
void exynos5420_config_smp(void);
|
void exynos5420_config_smp(void);
|
||||||
|
|
||||||
#endif /* _EXYNOS5420_CPU_H */
|
#endif /* CPU_SAMSUNG_EXYNOS5420_CPU_H */
|
||||||
|
|
|
@ -82,4 +82,4 @@ void TraceCode ( UINT32 Level, UINT32 Code);
|
||||||
|
|
||||||
#define DMSG_SB_TRACE 0x02
|
#define DMSG_SB_TRACE 0x02
|
||||||
|
|
||||||
#endif //#ifndef _AMD_SB_CIMx_PLATFORM_H_
|
#endif /* _AMD_SB_CIMx_PLATFORM_H_ */
|
||||||
|
|
|
@ -5,4 +5,4 @@ struct southbridge_amd_cs5535_config {
|
||||||
int setupflash;
|
int setupflash;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _SOUTHBRIDGE_AMD_CS5536 */
|
#endif /* _SOUTHBRIDGE_AMD_CS5535 */
|
||||||
|
|
|
@ -134,4 +134,4 @@ void avoid_lpc_dma_deadlock(device_t nb_dev, device_t sb_dev);
|
||||||
void config_gpp_core(device_t nb_dev, device_t sb_dev);
|
void config_gpp_core(device_t nb_dev, device_t sb_dev);
|
||||||
void PcieReleasePortTraining(device_t nb_dev, device_t dev, u32 port);
|
void PcieReleasePortTraining(device_t nb_dev, device_t dev, u32 port);
|
||||||
u8 PcieTrainPort(device_t nb_dev, device_t dev, u32 port);
|
u8 PcieTrainPort(device_t nb_dev, device_t dev, u32 port);
|
||||||
#endif /* RS690_H */
|
#endif /* __RS690_H__ */
|
||||||
|
|
|
@ -210,4 +210,4 @@ int cpuidFamily(void);
|
||||||
int is_family0Fh(void);
|
int is_family0Fh(void);
|
||||||
int is_family10h(void);
|
int is_family10h(void);
|
||||||
void pcie_hide_unused_ports(device_t nb_dev);
|
void pcie_hide_unused_ports(device_t nb_dev);
|
||||||
#endif /* RS780_H */
|
#endif /* __RS780_H__ */
|
||||||
|
|
|
@ -132,4 +132,4 @@ void sr5650_nb_pci_table(device_t nb_dev);
|
||||||
void init_gen2(device_t nb_dev, device_t dev, u8 port);
|
void init_gen2(device_t nb_dev, device_t dev, u8 port);
|
||||||
void sr56x0_lock_hwinitreg(void);
|
void sr56x0_lock_hwinitreg(void);
|
||||||
struct resource * sr5650_retrieve_cpu_mmio_resource(void);
|
struct resource * sr5650_retrieve_cpu_mmio_resource(void);
|
||||||
#endif /* SR5650_H */
|
#endif /* __SR5650_H__ */
|
||||||
|
|
|
@ -88,4 +88,4 @@ struct southbridge_intel_fsp_bd82x6x_config {
|
||||||
int c2_latency;
|
int c2_latency;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H */
|
#endif /* SOUTHBRIDGE_INTEL_FSP_BD82X6X_CHIP_H */
|
||||||
|
|
|
@ -582,4 +582,4 @@ void display_fd_settings(void);
|
||||||
#define SPIBAR_FDATA(n) (0x3810 + (4 * n)) /* SPI flash data */
|
#define SPIBAR_FDATA(n) (0x3810 + (4 * n)) /* SPI flash data */
|
||||||
|
|
||||||
#endif /* __ACPI__ */
|
#endif /* __ACPI__ */
|
||||||
#endif /* SOUTHBRIDGE_INTEL_BD82X6X_PCH_H */
|
#endif /* SOUTHBRIDGE_INTEL_FSP_BD82X6X_PCH_H */
|
||||||
|
|
|
@ -445,4 +445,4 @@ void rangeley_sb_early_initialization(void);
|
||||||
|
|
||||||
|
|
||||||
#endif /* __ACPI__ */
|
#endif /* __ACPI__ */
|
||||||
#endif /* SOUTHBRIDGE_INTEL_RANGELEY_PCH_H */
|
#endif /* SOUTHBRIDGE_INTEL_RANGELEY_SOC_H */
|
||||||
|
|
|
@ -37,4 +37,4 @@ struct southbridge_intel_i82801dx_config {
|
||||||
uint8_t ide1_enable;
|
uint8_t ide1_enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* I82801DBM_CHIP_H */
|
#endif /* I82801DX_CHIP_H */
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
void it8671f_48mhz_clkin(void);
|
void it8671f_48mhz_clkin(void);
|
||||||
void it8671f_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void it8671f_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
||||||
#endif /* SUPERIO_ITE_IT8671F__H */
|
#endif /* SUPERIO_ITE_IT8671F_H */
|
||||||
|
|
|
@ -27,4 +27,4 @@
|
||||||
|
|
||||||
void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
||||||
#endif /* SUPERIO_SMSC_1306_H */
|
#endif /* SUPERIO_SMSC_SIO1306_H */
|
||||||
|
|
Loading…
Reference in New Issue