From: Simon Glass Date: Mon, 15 Mar 2021 04:25:46 +0000 (+1300) Subject: x86: apl: Tell of-platdata about a required header file X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a65c35ed7784d782e6aecb6c85c84e77a08474b7;p=u-boot.git 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 Signed-off-by: Simon Glass --- 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() /* for X86_SYSCON_PUNIT */ };