summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-15 12:38:17 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-10-14 09:19:11 +0000
commitfd19075045b6834cab2b01e04e6192e6ca71f429 (patch)
treec76af594a4ca780dd0e29d3170b156c83b857837
parent4cee40a19d286b8c77598cc8d6325c17418527fb (diff)
nb/intel/x4x: Move register headers into a subfolder
Move all files with register definitions into a `registers` subfolder. Subsequent commits will move the remaining registers into this folder. Tested with BUILD_TIMELESS=1, Asus P5QL PRO does not change. Change-Id: I74dbd985b980d8a42bfaf2984820005320a803d3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45421 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/northbridge/intel/x4x/registers/host_bridge.h (renamed from src/northbridge/intel/x4x/hostbridge_regs.h)6
-rw-r--r--src/northbridge/intel/x4x/x4x.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/x4x/hostbridge_regs.h b/src/northbridge/intel/x4x/registers/host_bridge.h
index 00b496dca8..f09240416f 100644
--- a/src/northbridge/intel/x4x/hostbridge_regs.h
+++ b/src/northbridge/intel/x4x/registers/host_bridge.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __X4X_HOSTBRIDGE_REGS_H__
-#define __X4X_HOSTBRIDGE_REGS_H__
+#ifndef __X4X_REGISTERS_HOSTBRIDGE_H__
+#define __X4X_REGISTERS_HOSTBRIDGE_H__
#define D0F0_EPBAR_LO 0x40
#define D0F0_EPBAR_HI 0x44
@@ -37,4 +37,4 @@
#define D0F0_SKPD 0xdc /* Scratchpad Data */
#define D0F0_CAPID0 0xe0
-#endif /* __X4X_HOSTBRIDGE_REGS_H__ */
+#endif /* __X4X_REGISTERS_HOSTBRIDGE_H__ */
diff --git a/src/northbridge/intel/x4x/x4x.h b/src/northbridge/intel/x4x/x4x.h
index c62428705f..25345756e0 100644
--- a/src/northbridge/intel/x4x/x4x.h
+++ b/src/northbridge/intel/x4x/x4x.h
@@ -11,7 +11,7 @@
*/
#define HOST_BRIDGE PCI_DEV(0, 0, 0)
-#include "hostbridge_regs.h"
+#include "registers/host_bridge.h"
/*
* D1:F0 PEG