diff options
| author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-09-01 19:03:08 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-09-12 13:49:34 -0600 |
| commit | 559f11e66cf78a7cf57100086bba11a5a516cd25 (patch) | |
| tree | 23ed3ae27a4adc03a9a368013b06a2477599a404 /common | |
| parent | 7e2c23eacd8e6fe76306ebf3cd6e31d52695b617 (diff) | |
bloblist: adjust default bloblist size after reloc
If neither CONFIG_BLOBLIST_FIXED NOR CONFIG_BLOBLIST_ALLOC is set,
currently CONFIG_BLOBLIST_SIZE_RELOC defaults to 0 except if
* CONFIG_ARM=y && CONFIG_EFI_LOADER=y && GENERATE_ACPI_TABLE=y.
A size of zero never makes sense for a bloblist.
When using QFW we need more than 64 KiB to host the ACPI table.
In this case CONFIG_BLOBLIST_ALLOC is used.
Set a reasonable default.
Remove the CONFIG_BLOBLIST_SIZE_RELOC in ARM QEMU defconfigs which are
not compatible with ACPI tables passed from QEMU.
Reported-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Fixes: 6f9b015c138b ("common: Enable BLOBLIST_TABLES on arm")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'common')
| -rw-r--r-- | common/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig index cb17f056153..66dcc8cde15 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1128,8 +1128,8 @@ config BLOBLIST_SIZE config BLOBLIST_SIZE_RELOC hex "Size of bloblist after relocation" - default BLOBLIST_SIZE if BLOBLIST_FIXED || BLOBLIST_ALLOC - default 0x20000 if (ARM && EFI_LOADER && GENERATE_ACPI_TABLE) + default BLOBLIST_SIZE if BLOBLIST_FIXED + default 0x20000 help Sets the size of the bloblist in bytes after relocation. Since U-Boot has a lot more memory available then, it is possible to use a larger |
