]> git.baikalelectronics.ru Git - uboot.git/commit
x86: acpi: Support external GNVS tables
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:44:53 +0000 (12:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:13 +0000 (11:27 +0800)
commit31142ddcd38bfcdbd68c571d64ccd447bd05b47f
tree5eaf24eeaf32872af1d0e18114045ae0d4425c50
parente7b820eb021892a17064e55eb027a508eb1f40a1
x86: acpi: Support external GNVS tables

At present U-Boot puts a magic number in the ASL for the GNVS table and
searches for it later.

Add a Kconfig option to use a different approach, where the ASL files
declare the table as an external symbol. U-Boot can then put it wherever
it likes, without any magic numbers or searching.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig
arch/x86/cpu/apollolake/Kconfig
arch/x86/include/asm/acpi/global_nvs.h
arch/x86/lib/acpi_table.c