summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-11 14:44:30 -0600
committerTom Rini <[email protected]>2026-05-11 14:44:30 -0600
commit07316f1fe7a14cc2da2d36e05436ab4fa255ef5f (patch)
tree088909ea3307731a1e5ed44fe5ffd59b515815cd /lib
parent1d8526fa7c1ba6843e8c72cb219a8dcb8e62da79 (diff)
parent08bcf962c5fe1d2690ac3ff6dd75d3963325476b (diff)
Merge tag 'dm-pull-11may26b' of git://git.denx.de/u-boot-dm
CI: https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/30065 - Add missing bintool docstrings - Minor patman fix - Fix small ACPI bug
Diffstat (limited to 'lib')
-rw-r--r--lib/acpi/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/acpi/base.c b/lib/acpi/base.c
index 5c755b14c16..01ebad8994a 100644
--- a/lib/acpi/base.c
+++ b/lib/acpi/base.c
@@ -44,7 +44,7 @@ static void acpi_write_rsdt(struct acpi_rsdt *rsdt)
/* Fill out header fields */
acpi_fill_header(header, "RSDT");
- header->length = sizeof(struct acpi_rsdt);
+ header->length = sizeof(struct acpi_table_header);
header->revision = 1;
/* Entries are filled in later, we come with an empty set */
@@ -59,7 +59,7 @@ static void acpi_write_xsdt(struct acpi_xsdt *xsdt)
/* Fill out header fields */
acpi_fill_header(header, "XSDT");
- header->length = sizeof(struct acpi_xsdt);
+ header->length = sizeof(struct acpi_table_header);
header->revision = 1;
/* Entries are filled in later, we come with an empty set */