On 27 Sep 2017, at 21:05, Heinrich Schuchardt <[email protected]> wrote:
>
> 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
We already had the conversion of the rk3399 SPL support to use
BOOT_DEVICE_BOOTROM scheduled in
https://patchwork.ozlabs.org/patch/812308/
Looks like this got lost somewhere along the way together with
a few other changes from around that time. I’ll need to look into
what happened there.
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> ---
> 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
>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot