diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-15 17:25:46 +1300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-22 19:23:29 +1300 |
commit | f3455114abeab9179f9b8f0fd1627651b0976e26 (patch) | |
tree | 74b9878730dd5828d5c430c4d7555ac9abf2098d | |
parent | ec3800e310def572d3a9d7950eb17e290c1320bf (diff) | |
download | u-boot-f3455114abeab9179f9b8f0fd1627651b0976e26.tar.gz |
x86: apl: Tell of-platdata about a required header file
This enum is needed to generate build-time devices. Tell dtoc where to
find the header, to avoid compile errors in the generated code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/cpu/apollolake/punit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/cpu/apollolake/punit.c b/arch/x86/cpu/apollolake/punit.c index e67c011e22..5ed7963579 100644 --- a/arch/x86/cpu/apollolake/punit.c +++ b/arch/x86/cpu/apollolake/punit.c @@ -93,4 +93,5 @@ U_BOOT_DRIVER(intel_apl_punit) = { .id = UCLASS_SYSCON, .of_match = apl_syscon_ids, .probe = apl_punit_probe, + DM_HEADER(<asm/cpu.h>) /* for X86_SYSCON_PUNIT */ }; |