diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-31 20:04:40 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-31 20:08:03 +0000 |
commit | 1306c9d2e36d1760ebb79020aec305bf5b4bc7ad (patch) | |
tree | ec0d114eb5da25b6bc2b09af39cc62c3e1fb8f37 /config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch | |
parent | d218088d8b9164d5349ebcfcc744ea4c48399cc1 (diff) |
Revert "coreboot/default: use alternative heap size fix"
This reverts commit 29e9c32e32f8e947f51a3efe375dab3ef8e1987e.
Diffstat (limited to 'config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch')
-rw-r--r-- | config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch b/config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch deleted file mode 100644 index 2bfd8783..00000000 --- a/config/coreboot/default/patches/0029-Kconfig-Restore-HEAP_SIZE-overrides-greater-than-512.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 012a72b4acfe19f4456f203f2378f98d00646122 Mon Sep 17 00:00:00 2001 -From: Bill XIE <persmule@hardenedlinux.org> -Date: Tue, 31 Oct 2023 00:12:02 +0800 -Subject: [PATCH 2/2] Kconfig: Restore HEAP_SIZE overrides greater than 512 KiB - -Commit 44a48ce7a46c ("Kconfig: Bring HEAP_SIZE to a common, large -value") breaks S3 resume from TSEG stage cache on many platforms, -including GM45 and Ivy Bridge. - -Now the default value becomes 512 KiB, but a few platforms have -greater value before commit 44a48ce7a46c. This commit is to restore -them. - -Signed-off-by: Bill XIE <persmule@hardenedlinux.org> -Change-Id: I78cd56b0683dd2ef94319a98a720f2da58151626 ---- - src/Kconfig | 1 + - src/northbridge/amd/pi/Kconfig | 4 ++++ - src/soc/amd/picasso/Kconfig | 4 ++++ - src/soc/amd/stoneyridge/Kconfig | 4 ++++ - 4 files changed, 13 insertions(+) - -diff --git a/src/Kconfig b/src/Kconfig -index 6db0736715..24bd1469e0 100644 ---- a/src/Kconfig -+++ b/src/Kconfig -@@ -751,6 +751,7 @@ config RTC - - config HEAP_SIZE - hex -+ default 0x100000 if FLATTENED_DEVICE_TREE - default 0x80000 - - config STACK_SIZE -diff --git a/src/northbridge/amd/pi/Kconfig b/src/northbridge/amd/pi/Kconfig -index 4ffe82a15f..4518db149b 100644 ---- a/src/northbridge/amd/pi/Kconfig -+++ b/src/northbridge/amd/pi/Kconfig -@@ -29,4 +29,8 @@ config HW_MEM_HOLE_SIZEK - hex - default 0x200000 - -+config HEAP_SIZE -+ hex -+ default 0xc0000 -+ - endif # NORTHBRIDGE_AMD_PI -diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig -index c33f287067..796fe4eb13 100644 ---- a/src/soc/amd/picasso/Kconfig -+++ b/src/soc/amd/picasso/Kconfig -@@ -264,6 +264,10 @@ config S3_VGA_ROM_RUN - bool - default n - -+config HEAP_SIZE -+ hex -+ default 0xc0000 -+ - config SERIRQ_CONTINUOUS_MODE - bool - default n -diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig -index 6ff135e6a8..9af7455bae 100644 ---- a/src/soc/amd/stoneyridge/Kconfig -+++ b/src/soc/amd/stoneyridge/Kconfig -@@ -152,6 +152,10 @@ config S3_VGA_ROM_RUN - bool - default n - -+config HEAP_SIZE -+ hex -+ default 0xc0000 -+ - config EHCI_BAR - hex - default 0xfef00000 --- -2.39.2 - |