aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-24 07:14:50 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-08-01 23:05:52 +0000
commitb08d73b8456c85ded8e27f37023aba27a0933031 (patch)
tree2f3554b1447490c925c5f946806f17aa7b2dcfba /src/northbridge/via/cx700
parent54cb493f9702314058da0fea51b570e76ddc8617 (diff)
src/northbridge: Add guards on all header files
Change-Id: I93b939478615f22f2c078b1efb7999ad4f3a4c28 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20747 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/northbridge/via/cx700')
-rw-r--r--src/northbridge/via/cx700/registers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/via/cx700/registers.h b/src/northbridge/via/cx700/registers.h
index 02ec02a015..f92bfd9614 100644
--- a/src/northbridge/via/cx700/registers.h
+++ b/src/northbridge/via/cx700/registers.h
@@ -13,6 +13,9 @@
* GNU General Public License for more details.
*/
+#ifndef __VIA_CX700_REGISTERS_H__
+#define __VIA_CX700_REGISTERS_H__
+
/* CX700 has 48 bytes of scratch registers in D0F4 starting at Reg. 0xd0 */
#define SCRATCH_REG_BASE 0xd0
#define SCRATCH_RANK_0 0xd0
@@ -38,3 +41,5 @@
#define DDRII_333 0x2
#define DDRII_266 0x1
#define DDRII_200 0x0
+
+#endif