[U-Boot] [PATCH] arm: socfpga: Fixes: include <debug_uart.h>

Marek Vasut marex at denx.de
Thu Jul 12 08:04:49 UTC 2018


On 07/12/2018 03:44 PM, Ley Foon Tan wrote:
> 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>
> 
Applied, thanks

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list