diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-09-14 14:09:20 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-16 00:12:28 +0000 |
commit | 5cd979efb57de8f5ad04e7e4a9dec89f4ac55d47 (patch) | |
tree | 992b798a845a3d90188e2751ceb4460a7e7dde82 | |
parent | 84428f72d02583f1f2a7bf4470bace5d46c1bc4d (diff) |
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>
-rw-r--r-- | util/sconfig/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 2b1feda95e..9e44dc72ca 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -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) { + fprintf(f, "#include <boot/coreboot_tables.h>\n"); fprintf(f, "#include <device/device.h>\n"); fprintf(f, "#include <device/pci.h>\n"); fprintf(f, "#include <fw_config.h>\n"); |