[U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Sep 27 19:05:38 UTC 2017
Without #include asm/arch-rockchip/bootrom.h we get:
arch/arm/mach-rockchip/rk3399-board-spl.c:162:2:
warning: implicit declaration of function ‘back_to_bootrom’
[-Wimplicit-function-declaration]
for CONFIG_ROCKCHIP_BACK_TO_BROM=y
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
v2:
rebase to rockchip/master HEAD
---
arch/arm/mach-rockchip/rk3399-board-spl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c
index 3406156447..37c48bd1dd 100644
--- a/arch/arm/mach-rockchip/rk3399-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3399-board-spl.c
@@ -9,6 +9,7 @@
#include <asm/arch/grf_rk3399.h>
#include <asm/arch/hardware.h>
#include <asm/arch/periph.h>
+#include <asm/arch-rockchip/bootrom.h>
#include <asm/io.h>
#include <debug_uart.h>
#include <dm.h>
--
2.14.1
More information about the U-Boot
mailing list