]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Add a central location for table version numbers
authorSimon Glass <sjg@chromium.org>
Wed, 8 Apr 2020 22:57:38 +0000 (16:57 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 16 Apr 2020 06:36:28 +0000 (14:36 +0800)
commit91fe8b79f6912ab7622169bc1673e2df222e0b57
treeca9baeb3b60980b85c1982b8c3b0f22100987816
parent89c2798f1f2f690cdd269e38ef386ff720435816
acpi: Add a central location for table version numbers

Each ACPI table has its own version number. Add the version numbers in a
single function so we can keep them consistent and easily see what
versions are supported.

Start a new acpi_table file in a generic directory to house this function.
We can move things over to this file from x86 as needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/acpi/acpi_table.h
lib/Makefile
lib/acpi/Makefile [new file with mode: 0644]
lib/acpi/acpi_table.c [new file with mode: 0644]
test/dm/acpi.c