summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-04-06 10:02:41 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-04-22 17:45:03 +0200
commit019dbd31be6813b60ce6ad440ef97691f73787a7 (patch)
tree60eff21354872d90260f101fdb89edbbed55795e /src/soc
parent50a8c8c95d0f7627dcdb73d3aea6c2abfdb65316 (diff)
soc/intel/quark: Fix MTRR reads
Remove offset override improperly added in the "Disable the ROM shadow" patch TEST=Build and run on Galileo Gen2 Change-Id: I32fb2da48e3769d59a49619539053f9afdf63b04 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/14450 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/quark/romstage/mtrr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/intel/quark/romstage/mtrr.c b/src/soc/intel/quark/romstage/mtrr.c
index 1528e17e09..8b237a35e0 100644
--- a/src/soc/intel/quark/romstage/mtrr.c
+++ b/src/soc/intel/quark/romstage/mtrr.c
@@ -76,7 +76,6 @@ static uint32_t mtrr_index_to_host_bridge_register_offset(unsigned long index)
uint32_t port_reg_read(uint8_t port, uint32_t offset)
{
/* Read the port register */
- offset = QNC_MSG_FSBIC_REG_HMISC;
mea_write(offset);
mcr_write(QUARK_OPCODE_READ, port, offset);
return mdr_read();