summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2023-10-06 19:57:08 +0200
committerPatrick Georgi <patrick@coreboot.org>2023-10-11 12:09:01 +0000
commit44a48ce7a46c36df69f7b2cf3552bf10fa5f61b6 (patch)
tree4379827366fc36fce07c4d5177bcb9019207424b /src/soc
parent42f15054b178efe9a4d1c8a4e0c203d1aa4aad01 (diff)
Kconfig: Bring HEAP_SIZE to a common, large value
We have a tiny HEAP_SIZE by default, except when we don't, and mainboards that override it, or not. Since memory isn't exactly at a premium these days, and unused heap doesn't cost anything extra, just crank it up to the highest value we have in the tree by default and remove all overrides. Change-Id: I918a6c58c02496e8074e5fba06e38d9cfd691020 Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78270 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/picasso/Kconfig4
-rw-r--r--src/soc/amd/stoneyridge/Kconfig4
-rw-r--r--src/soc/cavium/cn81xx/Kconfig3
-rw-r--r--src/soc/intel/alderlake/Kconfig5
-rw-r--r--src/soc/intel/apollolake/Kconfig4
-rw-r--r--src/soc/intel/cannonlake/Kconfig4
-rw-r--r--src/soc/intel/elkhartlake/Kconfig4
-rw-r--r--src/soc/intel/jasperlake/Kconfig4
-rw-r--r--src/soc/intel/meteorlake/Kconfig5
-rw-r--r--src/soc/intel/skylake/Kconfig4
-rw-r--r--src/soc/intel/tigerlake/Kconfig4
-rw-r--r--src/soc/intel/xeon_sp/Kconfig4
-rw-r--r--src/soc/intel/xeon_sp/cpx/Kconfig4
-rw-r--r--src/soc/intel/xeon_sp/skx/Kconfig4
-rw-r--r--src/soc/intel/xeon_sp/spr/Kconfig4
-rw-r--r--src/soc/qualcomm/ipq40xx/Kconfig4
16 files changed, 0 insertions, 65 deletions
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 796fe4eb13..c33f287067 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -264,10 +264,6 @@ 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 9af7455bae..6ff135e6a8 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -152,10 +152,6 @@ config S3_VGA_ROM_RUN
bool
default n
-config HEAP_SIZE
- hex
- default 0xc0000
-
config EHCI_BAR
hex
default 0xfef00000
diff --git a/src/soc/cavium/cn81xx/Kconfig b/src/soc/cavium/cn81xx/Kconfig
index 368581f8f1..77ca97202b 100644
--- a/src/soc/cavium/cn81xx/Kconfig
+++ b/src/soc/cavium/cn81xx/Kconfig
@@ -30,9 +30,6 @@ config ARCH_ARMV8_EXTENSION
int
default 1
-config HEAP_SIZE
- default 0x10000
-
config STACK_SIZE
default 0x2000
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index 82ec8f263e..4b960c1d22 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -215,11 +215,6 @@ config IED_REGION_SIZE
hex
default 0x400000
-config HEAP_SIZE
- hex
- default 0x80000 if BMP_LOGO
- default 0x10000
-
config GFX_GMA_DEFAULT_MMIO
default 0xaf000000 if MAINBOARD_HAS_EARLY_LIBGFXINIT
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index bce935d800..78ec2987ce 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -252,10 +252,6 @@ config IFWI_FILE_NAME
help
Name of file to store in the IFWI region.
-config HEAP_SIZE
- hex
- default 0x8000
-
config MAX_ROOT_PORTS
int
default 6
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig
index 80237f9810..a42a3c365b 100644
--- a/src/soc/intel/cannonlake/Kconfig
+++ b/src/soc/intel/cannonlake/Kconfig
@@ -160,10 +160,6 @@ config IED_REGION_SIZE
hex
default 0x400000
-config HEAP_SIZE
- hex
- default 0x8000
-
config NHLT_DMIC_1CH_16B
bool
depends on ACPI_NHLT
diff --git a/src/soc/intel/elkhartlake/Kconfig b/src/soc/intel/elkhartlake/Kconfig
index 7f1c767379..3361c0ddb9 100644
--- a/src/soc/intel/elkhartlake/Kconfig
+++ b/src/soc/intel/elkhartlake/Kconfig
@@ -104,10 +104,6 @@ config IED_REGION_SIZE
hex
default 0x0
-config HEAP_SIZE
- hex
- default 0x8000
-
config MAX_ROOT_PORTS
int
default 7
diff --git a/src/soc/intel/jasperlake/Kconfig b/src/soc/intel/jasperlake/Kconfig
index ff5def3263..3d84991e09 100644
--- a/src/soc/intel/jasperlake/Kconfig
+++ b/src/soc/intel/jasperlake/Kconfig
@@ -106,10 +106,6 @@ config IED_REGION_SIZE
hex
default 0x400000
-config HEAP_SIZE
- hex
- default 0x8000
-
config MAX_ROOT_PORTS
int
default 8
diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig
index 48030a1911..590e8b80e1 100644
--- a/src/soc/intel/meteorlake/Kconfig
+++ b/src/soc/intel/meteorlake/Kconfig
@@ -197,11 +197,6 @@ config IED_REGION_SIZE
hex
default 0x400000
-config HEAP_SIZE
- hex
- default 0x80000 if BMP_LOGO
- default 0x10000
-
# Intel recommends reserving the PCIe TBT root port resources as below:
# - 42 buses
# - 194 MiB Non-prefetchable memory
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index d6a11363ee..e0df501460 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -151,10 +151,6 @@ config EXCLUDE_NATIVE_SD_INTERFACE
help
If you set this option to n, will not use native SD controller.
-config HEAP_SIZE
- hex
- default 0x80000
-
config IED_REGION_SIZE
hex
default 0x400000
diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig
index 0a4b7bfdb8..c07a0d8365 100644
--- a/src/soc/intel/tigerlake/Kconfig
+++ b/src/soc/intel/tigerlake/Kconfig
@@ -152,10 +152,6 @@ config IED_REGION_SIZE
config INTEL_TME
default n
-config HEAP_SIZE
- hex
- default 0x10000
-
config MAX_ROOT_PORTS
int
default 24 if SOC_INTEL_TIGERLAKE_PCH_H
diff --git a/src/soc/intel/xeon_sp/Kconfig b/src/soc/intel/xeon_sp/Kconfig
index 63ced01067..e63bee5451 100644
--- a/src/soc/intel/xeon_sp/Kconfig
+++ b/src/soc/intel/xeon_sp/Kconfig
@@ -91,10 +91,6 @@ config ECAM_MMCONF_BASE_ADDRESS
config ECAM_MMCONF_BUS_NUMBER
default 256
-config HEAP_SIZE
- hex
- default 0x80000
-
config HPET_MIN_TICKS
hex
default 0x80
diff --git a/src/soc/intel/xeon_sp/cpx/Kconfig b/src/soc/intel/xeon_sp/cpx/Kconfig
index f54f7716b6..ac166c3038 100644
--- a/src/soc/intel/xeon_sp/cpx/Kconfig
+++ b/src/soc/intel/xeon_sp/cpx/Kconfig
@@ -71,10 +71,6 @@ config CPU_MICROCODE_CBFS_LEN
hex
default 0x7C00
-config HEAP_SIZE
- hex
- default 0x80000
-
config STACK_SIZE
hex
default 0x4000
diff --git a/src/soc/intel/xeon_sp/skx/Kconfig b/src/soc/intel/xeon_sp/skx/Kconfig
index c2c3d4e2e8..5d843878e1 100644
--- a/src/soc/intel/xeon_sp/skx/Kconfig
+++ b/src/soc/intel/xeon_sp/skx/Kconfig
@@ -55,10 +55,6 @@ config CPU_MICROCODE_CBFS_LEN
hex
default 0x7C00
-config HEAP_SIZE
- hex
- default 0x80000
-
config IED_REGION_SIZE
hex
default 0x400000
diff --git a/src/soc/intel/xeon_sp/spr/Kconfig b/src/soc/intel/xeon_sp/spr/Kconfig
index b1c4c783b7..43b87ade14 100644
--- a/src/soc/intel/xeon_sp/spr/Kconfig
+++ b/src/soc/intel/xeon_sp/spr/Kconfig
@@ -79,10 +79,6 @@ config CPU_MICROCODE_CBFS_LEN
hex
default 0x8c00
-config HEAP_SIZE
- hex
- default 0x80000
-
config STACK_SIZE
hex
default 0x4000
diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig
index 0eabb00752..0ce92731c0 100644
--- a/src/soc/qualcomm/ipq40xx/Kconfig
+++ b/src/soc/qualcomm/ipq40xx/Kconfig
@@ -57,8 +57,4 @@ config SBL_UTIL_PATH
help
Path for utils to combine SBL_ELF and bootblock
-config HEAP_SIZE
- hex
- default 0x8000
-
endif