arm: simplify updating ACPI table header checksum
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 21 Mar 2025 23:21:20 +0000 (00:21 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 21:22:56 +0000 (15:22 -0600)
commitfecc50b0517d362b4db173b08a769f7b975d8255
treee839be9055dfd981e6b7139eaf00caafe10c7275
parent5eca1696d25f61ad58582820f8477360c81b8b7b
arm: simplify updating ACPI table header checksum

Use acpi_update_checksum() to update table header.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
arch/arm/mach-bcm283x/bcm2711_acpi.c
board/raspberrypi/rpi/rpi.c