x86: Add error checking for csrt table generation
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:24 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit31b410a68c706a12b36773d025a649c23cdfdb72
tree757a68db82cc27c1f3264240fc8fb7e8606c5ef8
parent59cf26480b6598330aba492733aec05b0a67303d
x86: Add error checking for csrt table generation

Generation of this table can fail, so update the function to return an
error code.

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/lib/acpi_table.c