[U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Sep 27 18:28:09 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>
---
 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 d6bf74f7ad..014b8afba0 100644
--- a/arch/arm/mach-rockchip/rk3399-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3399-board-spl.c
@@ -16,6 +16,7 @@
 #include <asm/arch/periph.h>
 #include <asm/arch/sdram.h>
 #include <asm/arch/timer.h>
+#include <asm/arch-rockchip/bootrom.h>
 #include <dm/pinctrl.h>
 #include <power/regulator.h>
 
-- 
2.14.1



More information about the U-Boot mailing list