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>
This commit is contained in:
parent
42f15054b1
commit
44a48ce7a4
|
@ -751,8 +751,7 @@ config RTC
|
|||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0x100000 if FLATTENED_DEVICE_TREE
|
||||
default 0x4000
|
||||
default 0x100000
|
||||
|
||||
config STACK_SIZE
|
||||
hex
|
||||
|
|
|
@ -35,7 +35,4 @@ config MAX_CPUS
|
|||
default 32 if SMM_TSEG
|
||||
default 4
|
||||
|
||||
config HEAP_SIZE
|
||||
default 0x8000
|
||||
|
||||
endif
|
||||
|
|
|
@ -10,9 +10,6 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select FLATTENED_DEVICE_TREE
|
||||
select SPI_SDCARD
|
||||
|
||||
config HEAP_SIZE
|
||||
default 0x10000
|
||||
|
||||
config MAINBOARD_DIR
|
||||
default "sifive/hifive-unleashed"
|
||||
|
||||
|
|
|
@ -29,8 +29,4 @@ config HW_MEM_HOLE_SIZEK
|
|||
hex
|
||||
default 0x200000
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0xc0000
|
||||
|
||||
endif # NORTHBRIDGE_AMD_PI
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -152,10 +152,6 @@ config S3_VGA_ROM_RUN
|
|||
bool
|
||||
default n
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0xc0000
|
||||
|
||||
config EHCI_BAR
|
||||
hex
|
||||
default 0xfef00000
|
||||
|
|
|
@ -30,9 +30,6 @@ config ARCH_ARMV8_EXTENSION
|
|||
int
|
||||
default 1
|
||||
|
||||
config HEAP_SIZE
|
||||
default 0x10000
|
||||
|
||||
config STACK_SIZE
|
||||
default 0x2000
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -104,10 +104,6 @@ config IED_REGION_SIZE
|
|||
hex
|
||||
default 0x0
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0x8000
|
||||
|
||||
config MAX_ROOT_PORTS
|
||||
int
|
||||
default 7
|
||||
|
|
|
@ -106,10 +106,6 @@ config IED_REGION_SIZE
|
|||
hex
|
||||
default 0x400000
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0x8000
|
||||
|
||||
config MAX_ROOT_PORTS
|
||||
int
|
||||
default 8
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -71,10 +71,6 @@ config CPU_MICROCODE_CBFS_LEN
|
|||
hex
|
||||
default 0x7C00
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0x80000
|
||||
|
||||
config STACK_SIZE
|
||||
hex
|
||||
default 0x4000
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -79,10 +79,6 @@ config CPU_MICROCODE_CBFS_LEN
|
|||
hex
|
||||
default 0x8c00
|
||||
|
||||
config HEAP_SIZE
|
||||
hex
|
||||
default 0x80000
|
||||
|
||||
config STACK_SIZE
|
||||
hex
|
||||
default 0x4000
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue