sandbox: Allow building with GENERATE_ACPI_TABLE

At present this option is missing a header file, a function prototype and
the qfw driver needs a header included.

Fix these problems so we can enable this option on sandbox. This will
increase the build coverage.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2021-12-01 09:02:40 -07:00
parent 27ba6289fe
commit 0679cca507
3 changed files with 3 additions and 0 deletions

View file

@ -6,4 +6,6 @@
#ifndef __ASM_ACPI_TABLE_H__
#define __ASM_ACPI_TABLE_H__
ulong write_acpi_tables(ulong start);
#endif /* __ASM_ACPI_TABLE_H__ */

View file

View file

@ -14,6 +14,7 @@
#include <qfw.h>
#include <dm.h>
#include <misc.h>
#include <tables_csum.h>
#ifdef CONFIG_GENERATE_ACPI_TABLE
#include <asm/tables.h>
#endif