summaryrefslogtreecommitdiffstats
path: root/src/northbridge/intel/ironlake
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-26 12:26:34 +0100
committerNico Huber <nico.h@gmx.de>2021-04-10 15:52:45 +0000
commit7720f1da36bff2c2ac4a252815527b680efcc61c (patch)
treeaa72315691a5a32cdf32f04fb9aa371b72ddaba2 /src/northbridge/intel/ironlake
parent8cbe43b8d73ba02fc771f8ea00f7ec4ab2e37f5b (diff)
downloadcoreboot-7720f1da36bff2c2ac4a252815527b680efcc61c.tar.gz
coreboot-7720f1da36bff2c2ac4a252815527b680efcc61c.tar.bz2
coreboot-7720f1da36bff2c2ac4a252815527b680efcc61c.zip
nb/intel: Factor out remaining MCHBAR macros
Except for some formatting differences, the macros are equivalent. Change-Id: I5dc4f115b0873fb96683263ecd152d3d1504647d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51863 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/ironlake')
-rw-r--r--src/northbridge/intel/ironlake/ironlake.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/northbridge/intel/ironlake/ironlake.h b/src/northbridge/intel/ironlake/ironlake.h
index cfa16a6d6cfe..3fb1c107f5a4 100644
--- a/src/northbridge/intel/ironlake/ironlake.h
+++ b/src/northbridge/intel/ironlake/ironlake.h
@@ -90,15 +90,6 @@
#include <northbridge/intel/common/fixed_bars.h>
-#define MCHBAR8_AND(x, and) (MCHBAR8(x) = MCHBAR8(x) & (and))
-#define MCHBAR16_AND(x, and) (MCHBAR16(x) = MCHBAR16(x) & (and))
-#define MCHBAR32_AND(x, and) (MCHBAR32(x) = MCHBAR32(x) & (and))
-#define MCHBAR8_OR(x, or) (MCHBAR8(x) = MCHBAR8(x) | (or))
-#define MCHBAR16_OR(x, or) (MCHBAR16(x) = MCHBAR16(x) | (or))
-#define MCHBAR32_OR(x, or) (MCHBAR32(x) = MCHBAR32(x) | (or))
-#define MCHBAR8_AND_OR(x, and, or) (MCHBAR8(x) = (MCHBAR8(x) & (and)) | (or))
-#define MCHBAR16_AND_OR(x, and, or) (MCHBAR16(x) = (MCHBAR16(x) & (and)) | (or))
-#define MCHBAR32_AND_OR(x, and, or) (MCHBAR32(x) = (MCHBAR32(x) & (and)) | (or))
/*
* EPBAR - Egress Port Root Complex Register Block
*/