[U-Boot] [PATCH] arm: socfpga: Fixes: include <debug_uart.h>
Ley Foon Tan
ley.foon.tan at intel.com
Thu Jul 12 13:44:24 UTC 2018
Fix compilation warning when enable CONFIG_DEBUG_UART.
arch/arm/mach-socfpga/spl_s10.c: In function ‘board_init_f’:
arch/arm/mach-socfpga/spl_s10.c:146:2: warning: implicit declaration of function ‘debug_uart_init’; did you mean ‘part_init’? [-Wimplicit-function-declaration]
debug_uart_init();
Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
---
arch/arm/mach-socfpga/spl_s10.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index 69c2ee3..69d6e91 100644
--- a/arch/arm/mach-socfpga/spl_s10.c
+++ b/arch/arm/mach-socfpga/spl_s10.c
@@ -8,6 +8,7 @@
#include <asm/u-boot.h>
#include <asm/utils.h>
#include <common.h>
+#include <debug_uart.h>
#include <image.h>
#include <spl.h>
#include <asm/arch/clock_manager.h>
--
2.7.4
More information about the U-Boot
mailing list