[coreboot-gerrit] Change in coreboot[master]: amd/stoneyridge: Add denition for HPET to southbridge

Marshall Dawson (Code Review) gerrit at coreboot.org
Tue Oct 31 02:15:27 CET 2017


Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/22242


Change subject: amd/stoneyridge: Add denition for HPET to southbridge
......................................................................

amd/stoneyridge: Add denition for HPET to southbridge

Add #define values for the HPET device.  In Stoney Ridge, the base
address is fixed and cannot be relocated.

Change-Id: Id36fd9ecc90d54a92144f2cca7cec6d84abfdabd
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/soc/amd/stoneyridge/include/soc/southbridge.h
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/22242/1

diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index 55ded9f..78a4038a 100644
--- a/src/soc/amd/stoneyridge/include/soc/southbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h
@@ -25,6 +25,11 @@
 
 #define IO_APIC2_ADDR			0xfec20000
 
+#if IS_ENABLED(CONFIG_HPET_ADDRESS_OVERRIDE)
+#error HPET address override is not allowed and must be fixed at 0xfed00000
+#endif
+#define HPET_BASE_ADDRESS		0xfed00000
+
 /* Offsets from ACPI_MMIO_BASE */
 #define APU_SMI_BASE			0xfed80200
 

-- 
To view, visit https://review.coreboot.org/22242
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id36fd9ecc90d54a92144f2cca7cec6d84abfdabd
Gerrit-Change-Number: 22242
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171031/6aa9fc77/attachment-0001.html>


More information about the coreboot-gerrit mailing list