]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: mx7: Fix CONFIG_SERIAL_TAG compilation
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Mon, 26 Mar 2018 14:27:32 +0000 (15:27 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 15 Apr 2018 09:44:13 +0000 (11:44 +0200)
Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to
define "struct tag_serialnr".

This structure is defined in <asm/setup.h>, this patch includes
<asm/setup.h> to fix.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/mx7/soc.c

index d349676b8116b04c5ba7cf6975955889d519f097..16025855646f7c09c42c2ad18ed64a1db96c22c8 100644 (file)
@@ -18,6 +18,7 @@
 #include <dm.h>
 #include <imx_thermal.h>
 #include <fsl_sec.h>
+#include <asm/setup.h>
 
 #if defined(CONFIG_IMX_THERMAL)
 static const struct imx_thermal_plat imx7_thermal_plat = {