From 019dbd31be6813b60ce6ad440ef97691f73787a7 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 6 Apr 2016 10:02:41 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/14450 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/intel/quark/romstage/mtrr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3