diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-05-25 08:52:07 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-28 08:55:31 +0000 |
commit | e76ce871c8f84aef38fbf9df9c8bee3c10c085d7 (patch) | |
tree | 02359779387bb2b7b329150c9642280b5c0fb999 /src/arch/x86 | |
parent | 49dbbe99c2e645f5d800fa9f88a97ff6d545efba (diff) |
arch/x86: Remove most C_ENV_BOOTBLOCK_SIZE limits
With top-aligned bootblock this is no longer globally needed.
The default maximum is now a generous 256 KiB with couple
platforms having lower limits of 32 KiB and 64 KiB.
Change-Id: Ib1aee44908c0dcbc17978d3ee53bd05a6200410c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47600
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 943bb91d69..bb03db2fbc 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -186,10 +186,13 @@ config HPET_ADDRESS hex default 0xfed00000 if !HPET_ADDRESS_OVERRIDE -# 64KiB default bootblock size config C_ENV_BOOTBLOCK_SIZE hex - default 0x10000 + default 0x40000 if !FIXED_BOOTBLOCK_SIZE + help + This is only the default maximum of bootblock size for linking + purposes. Platforms may provide different limit and need to + specify this when FIXED_BOOTBLOCK_SIZE is selected. config FIXED_BOOTBLOCK_SIZE bool |