mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
src/include: Add guards on all header files
Change-Id: I2d7d4e0b25f2cf3eef2040f89d5ebc711909cdd7 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20734 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
committed by
Stefan Reinauer
parent
284409fd8c
commit
7a4c02145d
@@ -13,8 +13,13 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef __CPU_AMD_MODEL_10XXX_REV_H__
|
||||
#define __CPU_AMD_MODEL_10XXX_REV_H__
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
int init_processor_name(void);
|
||||
|
||||
/* place holder for Family 10 revision code */
|
||||
|
||||
#endif /* __CPU_AMD_MODEL_10XXX_REV_H__ */
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#ifndef __CPU_AMD_MODEL_FXX_REV_H__
|
||||
#define __CPU_AMD_MODEL_FXX_REV_H__
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
@@ -125,3 +128,4 @@ int is_e0_later_in_bsp(int nodeid);
|
||||
int is_cpu_f0_in_bsp(int nodeid);
|
||||
|
||||
#endif
|
||||
#endif /* __CPU_AMD_MODEL_FXX_REV_H__ */
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
#ifndef __CPU_AMD_SC520_H__
|
||||
#define __CPU_AMD_SC520_H__
|
||||
|
||||
/* handy dandy stuff for the sc520 MMCR */
|
||||
|
||||
/* default location of the MMCR */
|
||||
#define MMCR 0xfffef000
|
||||
|
||||
@@ -309,3 +313,5 @@ struct mmcr {
|
||||
|
||||
|
||||
#define MMCRDEFAULT ((struct mmcr *) 0xfffef000)
|
||||
|
||||
#endif /* __CPU_AMD_SC520_H__ */
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#ifndef __X86_POST_CODE_H__
|
||||
#define __X86_POST_CODE_H__
|
||||
|
||||
#include <console/post_codes.h>
|
||||
|
||||
@@ -10,3 +12,5 @@
|
||||
#else
|
||||
#define post_code(value)
|
||||
#endif
|
||||
|
||||
#endif /* __X86_POST_CODE_H__ */
|
||||
|
||||
Reference in New Issue
Block a user