]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Put table-setup code in its own function
authorSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 15:19:51 +0000 (09:19 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2020 09:16:12 +0000 (17:16 +0800)
commit7e586f69070db02171dca77f41adbcccd6394b33
treee3215822437a057ffbd20f8eefb6790ac22adb84
parent29b351122ed23124f70473a411c65074d5a61146
acpi: Put table-setup code in its own function

We always write three basic tables to ACPI at the start. Move this into
its own function, along with acpi_fill_header(), so we can write a test
for this code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/acpi_table.c
include/acpi/acpi_table.h
lib/acpi/acpi_table.c
test/dm/acpi.c