summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2018-07-12 21:44:24 +0800
committerMarek Vasut <marex@denx.de>2018-07-12 16:03:35 +0200
commitaa529663368e97663d7ec16d6997cb69a2dd8afb (patch)
tree50512e590472b1535bb5885b016f49547aed5017
parent8c9f247a1a2031b200c04f297d5b9ae1353d9d90 (diff)
arm: socfpga: Fixes: include <debug_uart.h>
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@intel.com>
-rw-r--r--arch/arm/mach-socfpga/spl_s10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c
index 69c2ee3d69..69d6e919aa 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>