]> git.baikalelectronics.ru Git - uboot.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)
commitd29f5c386f2dadd56147f3e3e95d5582085877a5
treeca9baeb3b60980b85c1982b8c3b0f22100987816
parent2609a1be9cef16341c42f3a74400b2436954734c
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