diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-01 12:38:15 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-01 12:38:15 -0500 |
commit | dffa6d0210f57793f1e4e1e209d91ca5642e4d05 (patch) | |
tree | 350cb07a9c0fc71a5a149c9fba70bc13ec5195d9 /arch/x86/lib/tables.c | |
parent | 2b28c3b871cd5d55b19f0a86cef970139f8ab952 (diff) | |
parent | e266d2731145681a55d862360f1b61690b0c6820 (diff) |
Merge tag 'dm-next-1124' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
support propagating supernode properties with bootph schema
align bloblist with v0.9 of Firmware Handoff spec
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r-- | arch/x86/lib/tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index 5b5070f7ca..d43e77d373 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -16,6 +16,7 @@ #include <asm/mpspec.h> #include <asm/tables.h> #include <asm/coreboot_tables.h> +#include <linux/log2.h> DECLARE_GLOBAL_DATA_PTR; @@ -104,7 +105,7 @@ int write_tables(void) if (!gd->arch.table_end) gd->arch.table_end = rom_addr; rom_addr = (ulong)bloblist_add(table->tag, size, - table->align); + ilog2(table->align)); if (!rom_addr) return log_msg_ret("bloblist", -ENOBUFS); |