[PATCH 0/5] acpi: simplify updating ACPI table header checksum

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Mar 22 00:21:15 CET 2025


Introduce a new function to update ACPI table headers.
This allows to simplify the existing code.

Heinrich Schuchardt (5):
  acpi: new function acpi_update_checksum()
  acpi: simplify updating header checksum
  x86/acpi: simplify updating header checksum
  qemu-sbsa: simplify updating ACPI table header checksum
  arm: simplify updating ACPI table header checksum

 arch/arm/mach-bcm283x/bcm2711_acpi.c |  4 ++--
 arch/x86/cpu/apollolake/hostbridge.c |  2 +-
 arch/x86/lib/acpi_nhlt.c             |  2 +-
 arch/x86/lib/acpi_table.c            | 11 ++++-------
 board/emulation/qemu-sbsa/acpi.c     |  4 ++--
 board/raspberrypi/rpi/rpi.c          |  2 +-
 include/acpi/acpi_table.h            |  7 +++++++
 lib/acpi/acpi.c                      |  7 +++++++
 lib/acpi/acpi_table.c                | 18 +++++++-----------
 lib/acpi/base.c                      |  6 ++----
 lib/acpi/csrt.c                      |  2 +-
 lib/acpi/mcfg.c                      |  2 +-
 lib/acpi/ssdt.c                      |  2 +-
 13 files changed, 37 insertions(+), 32 deletions(-)

-- 
2.48.1



More information about the U-Boot mailing list