util/sconfig: Update static.c to include boot/coreboot_tables.h

This allows the devicetree to directly access names defined in the
coreboot tables API.

BUG=b:194967458
BRANCH=dedede

Change-Id: Ieb2d00095f54b2363a21f9c5ef8205110a36f746
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57648
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Tim Wawrzynczak 2021-09-14 14:09:20 -06:00 committed by Felix Held
parent 84428f72d0
commit 5cd979efb5
1 changed files with 1 additions and 0 deletions

View File

@ -1923,6 +1923,7 @@ static void generate_outputh(FILE *f, const char *fw_conf_header, const char *de
static void generate_outputc(FILE *f, const char *static_header) static void generate_outputc(FILE *f, const char *static_header)
{ {
fprintf(f, "#include <boot/coreboot_tables.h>\n");
fprintf(f, "#include <device/device.h>\n"); fprintf(f, "#include <device/device.h>\n");
fprintf(f, "#include <device/pci.h>\n"); fprintf(f, "#include <device/pci.h>\n");
fprintf(f, "#include <fw_config.h>\n"); fprintf(f, "#include <fw_config.h>\n");