the following patch was just integrated into master: commit a0429b6f3ca6aa63124dbbbe3507629adc9ccd23 Author: Aaron Durbin adurbin@chromium.org Date: Wed Aug 5 14:33:37 2015 -0500
skylake: clean up SMM region calculations
The TSEG is defined to be from TSEG->BGSM in the host bridge registers. Use those registers at runtime to calculate the correct TSEG size.
Lastly, use a few helper macros to make constants more readable.
BUG=chrome-os-partner:43522 BRANCH=None TEST=Built, booted, suspended, resumed on glados.
Original-Change-Id: I6db424a0057ecfc040a3cd5d99476c2fb8f5d29b Original-Signed-off-by: Aaron Durbin adurbin@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/290832 Original-Reviewed-by: Leroy P Leahy leroy.p.leahy@intel.com Original-Reviewed-by: Duncan Laurie dlaurie@chromium.org
Change-Id: I6890fa450ce8dc10080321aa1a7580e0adc48ad5 Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/11195 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi pgeorgi@google.com
See http://review.coreboot.org/11195 for details.
-gerrit