]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx: parse-container: guard included header files
authorPeng Fan <peng.fan@nxp.com>
Sat, 7 Aug 2021 08:00:38 +0000 (16:00 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:50 +0000 (14:46 +0200)
Guard included sci.h with CONFIG_AHAB_BOOT to avoid build failure
for i.MX8ULP

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/parse-container.c

index e4354bf930c921510f6f4b0b1dc0e4483ec1bb2d..039a4c73035a9d5c65180842869b81635007c041 100644 (file)
@@ -8,7 +8,9 @@
 #include <log.h>
 #include <spl.h>
 #include <asm/mach-imx/image.h>
+#ifdef CONFIG_AHAB_BOOT
 #include <asm/arch/sci/sci.h>
+#endif
 
 #define SEC_SECURE_RAM_BASE            0x31800000UL
 #define SEC_SECURE_RAM_END_BASE                (SEC_SECURE_RAM_BASE + 0xFFFFUL)