]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: Fixes: include <debug_uart.h>
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 12 Jul 2018 13:44:24 +0000 (21:44 +0800)
committerMarek Vasut <marex@denx.de>
Thu, 12 Jul 2018 14:03:35 +0000 (16:03 +0200)
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>
arch/arm/mach-socfpga/spl_s10.c

index 69c2ee3d69326122706fe0653285f8c7267c2a38..69d6e919aa078760b540c8bf7151f94c2982eafb 100644 (file)
@@ -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>