intel i945 gm45 x4x post-car: Use postcar_frame for MTRR setup
Adapt implementation from skylake to prepare for removal of HIGH_MEMORY_SAVE and moving on to RELOCATABLE_RAMSTAGE. With this change, CBMEM region is set early-on as WRBACK with MTRRs and romstage ram stack is moved to CBMEM. Change-Id: Idee5072fd499aa3815b0d78f54308c273e756fd1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15791 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
811932a614
commit
823020d56b
10 changed files with 204 additions and 51 deletions
|
|
@ -161,7 +161,6 @@ void mainboard_romstage_entry(unsigned long bist)
|
|||
* this is not a resume. In that case we just create the cbmem toc.
|
||||
*/
|
||||
if (s3resume && cbmem_initted) {
|
||||
acpi_prepare_for_resume();
|
||||
|
||||
/* Magic for S3 resume */
|
||||
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
|
||||
|
|
|
|||
|
|
@ -162,7 +162,6 @@ void mainboard_romstage_entry(unsigned long bist)
|
|||
* this is not a resume. In that case we just create the cbmem toc.
|
||||
*/
|
||||
if (s3resume && cbmem_initted) {
|
||||
acpi_prepare_for_resume();
|
||||
|
||||
/* Magic for S3 resume */
|
||||
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
|
||||
|
|
|
|||
|
|
@ -192,7 +192,6 @@ void mainboard_romstage_entry(unsigned long bist)
|
|||
* this is not a resume. In that case we just create the cbmem toc.
|
||||
*/
|
||||
if (s3resume && cbmem_initted) {
|
||||
acpi_prepare_for_resume();
|
||||
|
||||
/* Magic for S3 resume */
|
||||
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue