]> git.baikalelectronics.ru Git - uboot.git/commit
acpi: Allow creating the GNVS to fail
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:05 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit3509c1ba3923ae0da9ce77223974402438446818
treebaf23081ee65e40970ec4c1c83a1aa7c44ae5601
parent0a9cdea89ec253e049e4dcea956b32378f3fa127
acpi: Allow creating the GNVS to fail

In some cases an internal error may prevent this from working. Update the
function return value and report the error. At present the API for writing
tables does not easily support reporting errors, but once it is fully
updated to use a context pointer, this will be easier.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
arch/x86/cpu/baytrail/acpi.c
arch/x86/cpu/quark/acpi.c
arch/x86/cpu/tangier/acpi.c
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c