]> git.dujemihanovic.xyz Git - u-boot.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)
commit8d7ff12e635f255afce74767a78d7584abbbaed0
treebaf23081ee65e40970ec4c1c83a1aa7c44ae5601
parent8f9877df95ae0068ce14a962bd72c22026c1d2e8
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