]> git.baikalelectronics.ru Git - uboot.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)
commitc78eeb26fa3c558d1a59f3989185f6764cd41890
treee3215822437a057ffbd20f8eefb6790ac22adb84
parente964c114541b8a2a6fd4763e0233ee01cedce03c
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