Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15470
-gerrit
commit 22d5ececd48a70e5868c4a927032b070da5f4d9e
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Mon Jun 27 12:14:39 2016 +0300
AGESA: Delay ACPI S3 backup until ramstage loader
Change-Id: I59773161f22c1ec6a52050245f9ad3e6cc74a934
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/cpu/amd/agesa/s3_resume.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/cpu/amd/agesa/s3_resume.c b/src/cpu/amd/agesa/s3_resume.c
index e74c5b3..1e4aadb 100644
--- a/src/cpu/amd/agesa/s3_resume.c
+++ b/src/cpu/amd/agesa/s3_resume.c
@@ -91,9 +91,4 @@ void prepare_for_resume(void)
printk(BIOS_DEBUG, "CAR disabled.\n");
set_resume_cache();
- /*
- * Copy the system memory that is in the ramstage area to the
- * reserved area.
- */
- acpi_prepare_for_resume();
}
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15471
-gerrit
commit a2ee885af53e5713613add7e492ce9b2c3989b6c
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Mon Jun 27 12:14:49 2016 +0300
AMD binaryPI: Delay ACPI S3 backup until ramstage loader
Change-Id: I482cf93fe5dfab95817c87c32aad33df2e0a6439
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/cpu/amd/pi/s3_resume.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/cpu/amd/pi/s3_resume.c b/src/cpu/amd/pi/s3_resume.c
index 6426c97..338f921 100644
--- a/src/cpu/amd/pi/s3_resume.c
+++ b/src/cpu/amd/pi/s3_resume.c
@@ -289,10 +289,5 @@ void prepare_for_resume(void)
printk(BIOS_DEBUG, "CAR disabled.\n");
set_resume_cache();
- /*
- * Copy the system memory that is in the ramstage area to the
- * reserved area.
- */
- acpi_prepare_for_resume();
}
#endif
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17268
-gerrit
commit be7a8af0821a8d37cef27e7977d59b9510a94525
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Tue Jul 26 14:03:31 2016 +0300
intel car: Remove references to DCACHE_RAM_ROMSTACK_SIZE
Not referenced in code.
Change-Id: Iea91f4418eb122fb647ec0f4f42cb786e8eadf23
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/soc/intel/baytrail/Kconfig | 13 +++----------
src/soc/intel/braswell/Kconfig | 13 +++----------
src/soc/intel/broadwell/Kconfig | 7 -------
3 files changed, 6 insertions(+), 27 deletions(-)
diff --git a/src/soc/intel/baytrail/Kconfig b/src/soc/intel/baytrail/Kconfig
index 4009785..f4c7e11 100644
--- a/src/soc/intel/baytrail/Kconfig
+++ b/src/soc/intel/baytrail/Kconfig
@@ -99,9 +99,9 @@ endif # HAVE_MRC
# | MRC usage |
# | |
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
-# | Stack |\
-# | | | * DCACHE_RAM_ROMSTAGE_STACK_SIZE
-# | v |/
+# | Stack |
+# | | |
+# | v |
# +-------------+
# | ^ |
# | | |
@@ -131,13 +131,6 @@ config DCACHE_RAM_MRC_VAR_SIZE
help
The amount of cache-as-ram region required by the reference code.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x800
- help
- The amount of anticipated stack usage from the data cache
- during pre-RAM ROM stage execution.
-
config RESET_ON_INVALID_RAMSTAGE_CACHE
bool "Reset the system on S3 wake when ramstage cache invalid."
default n
diff --git a/src/soc/intel/braswell/Kconfig b/src/soc/intel/braswell/Kconfig
index b587988..ddd7051 100644
--- a/src/soc/intel/braswell/Kconfig
+++ b/src/soc/intel/braswell/Kconfig
@@ -75,9 +75,9 @@ config SMM_RESERVED_SIZE
# Cache As RAM region layout:
#
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
-# | Stack |\
-# | | | * DCACHE_RAM_ROMSTAGE_STACK_SIZE
-# | v |/
+# | Stack |
+# | | |
+# | v |
# +-------------+
# | ^ |
# | | |
@@ -97,13 +97,6 @@ config DCACHE_RAM_SIZE
and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
must add up to a power of 2.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x800
- help
- The amount of anticipated stack usage from the data cache
- during pre-ram ROM stage execution.
-
config RESET_ON_INVALID_RAMSTAGE_CACHE
bool "Reset the system on S3 wake when ramstage cache invalid."
default n
diff --git a/src/soc/intel/broadwell/Kconfig b/src/soc/intel/broadwell/Kconfig
index 517fd21..29b5bfe 100644
--- a/src/soc/intel/broadwell/Kconfig
+++ b/src/soc/intel/broadwell/Kconfig
@@ -106,13 +106,6 @@ config DCACHE_RAM_MRC_VAR_SIZE
help
The amount of cache-as-ram region required by the reference code.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x2000
- help
- The amount of anticipated stack usage from the data cache
- during pre-ram ROM stage execution.
-
config HAVE_MRC
bool "Add a Memory Reference Code binary"
help
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17268
-gerrit
commit 1f085fbbed96c0fc48aa59c53b71a06cd3b574ef
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Tue Jul 26 14:03:31 2016 +0300
intel car: Remove references to DCACHE_RAM_ROMSTACK_SIZE
Not referenced in code.
Change-Id: Iea91f4418eb122fb647ec0f4f42cb786e8eadf23
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/soc/intel/baytrail/Kconfig | 13 +++----------
src/soc/intel/braswell/Kconfig | 13 +++----------
src/soc/intel/broadwell/Kconfig | 7 -------
3 files changed, 6 insertions(+), 27 deletions(-)
diff --git a/src/soc/intel/baytrail/Kconfig b/src/soc/intel/baytrail/Kconfig
index 4009785..f4c7e11 100644
--- a/src/soc/intel/baytrail/Kconfig
+++ b/src/soc/intel/baytrail/Kconfig
@@ -99,9 +99,9 @@ endif # HAVE_MRC
# | MRC usage |
# | |
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
-# | Stack |\
-# | | | * DCACHE_RAM_ROMSTAGE_STACK_SIZE
-# | v |/
+# | Stack |
+# | | |
+# | v |
# +-------------+
# | ^ |
# | | |
@@ -131,13 +131,6 @@ config DCACHE_RAM_MRC_VAR_SIZE
help
The amount of cache-as-ram region required by the reference code.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x800
- help
- The amount of anticipated stack usage from the data cache
- during pre-RAM ROM stage execution.
-
config RESET_ON_INVALID_RAMSTAGE_CACHE
bool "Reset the system on S3 wake when ramstage cache invalid."
default n
diff --git a/src/soc/intel/braswell/Kconfig b/src/soc/intel/braswell/Kconfig
index b587988..ddd7051 100644
--- a/src/soc/intel/braswell/Kconfig
+++ b/src/soc/intel/braswell/Kconfig
@@ -75,9 +75,9 @@ config SMM_RESERVED_SIZE
# Cache As RAM region layout:
#
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
-# | Stack |\
-# | | | * DCACHE_RAM_ROMSTAGE_STACK_SIZE
-# | v |/
+# | Stack |
+# | | |
+# | v |
# +-------------+
# | ^ |
# | | |
@@ -97,13 +97,6 @@ config DCACHE_RAM_SIZE
and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
must add up to a power of 2.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x800
- help
- The amount of anticipated stack usage from the data cache
- during pre-ram ROM stage execution.
-
config RESET_ON_INVALID_RAMSTAGE_CACHE
bool "Reset the system on S3 wake when ramstage cache invalid."
default n
diff --git a/src/soc/intel/broadwell/Kconfig b/src/soc/intel/broadwell/Kconfig
index 517fd21..29b5bfe 100644
--- a/src/soc/intel/broadwell/Kconfig
+++ b/src/soc/intel/broadwell/Kconfig
@@ -106,13 +106,6 @@ config DCACHE_RAM_MRC_VAR_SIZE
help
The amount of cache-as-ram region required by the reference code.
-config DCACHE_RAM_ROMSTAGE_STACK_SIZE
- hex
- default 0x2000
- help
- The amount of anticipated stack usage from the data cache
- during pre-ram ROM stage execution.
-
config HAVE_MRC
bool "Add a Memory Reference Code binary"
help