[v2] x86: chromebook_coral: Fix a build error

Message ID 20200525095303.v2.1.I2d227dfacdb56d9cbc1e826eb0d974346c817e86@changeid
State New
Headers show
Series
  • [v2] x86: chromebook_coral: Fix a build error
Related show

Commit Message

Simon Glass May 25, 2020, 3:53 p.m.
At present coral does not build due to a missing header file. The need
for this was introduced recently on master. Fix it.

Fixes: e9a32698517 ("x86: apl: Use devicetree for FSP-M configuration")
Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Add Fixes tag for the first commit that showed this problem

 arch/x86/cpu/apollolake/fsp_bindings.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng May 26, 2020, 7:30 a.m. | #1
Hi Simon,

On Mon, May 25, 2020 at 11:53 PM Simon Glass <sjg at chromium.org> wrote:
>
> At present coral does not build due to a missing header file. The need
> for this was introduced recently on master. Fix it.
>
> Fixes: e9a32698517 ("x86: apl: Use devicetree for FSP-M configuration")
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Thanks! This patch has not arrived to mainline yet, so I will squash
this commit into e9a32698517 on u-boot-x86/master.

>
> Changes in v2:
> - Add Fixes tag for the first commit that showed this problem
>
>  arch/x86/cpu/apollolake/fsp_bindings.c | 1 +
>  1 file changed, 1 insertion(+)

Regards,
Bin

Patch

diff --git a/arch/x86/cpu/apollolake/fsp_bindings.c b/arch/x86/cpu/apollolake/fsp_bindings.c
index 501cbb7ef3..66f85b0d95 100644
--- a/arch/x86/cpu/apollolake/fsp_bindings.c
+++ b/arch/x86/cpu/apollolake/fsp_bindings.c
@@ -5,6 +5,7 @@ 
 
 #include <common.h>
 #include <dm.h>
+#include <log.h>
 #include <asm/arch/fsp_bindings.h>
 
 /**