x86: acpi: Allow the SSDT to be empty
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:31 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:30 +0000 (09:51 +0800)
commit2de4744dae572b6ba9c1c3e3a40b377e53994630
treeb788817b435e0669e7902f725dfeea249fa5ee75
parentbe1cee11b26880c385d9ce1d84792403a59f8855
x86: acpi: Allow the SSDT to be empty

If there is nothing in the SSDT we should not include it in the tables.
Update the implementation to check this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/acpi_table.c