* [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom
@ 2017-09-27 18:28 Heinrich Schuchardt
2017-09-27 19:05 ` Heinrich Schuchardt
0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2017-09-27 18:28 UTC (permalink / raw)
To: u-boot
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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom
2017-09-27 18:28 [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom Heinrich Schuchardt
@ 2017-09-27 19:05 ` Heinrich Schuchardt
2017-09-27 22:22 ` Dr. Philipp Tomsich
0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2017-09-27 19:05 UTC (permalink / raw)
To: u-boot
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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom
2017-09-27 19:05 ` Heinrich Schuchardt
@ 2017-09-27 22:22 ` Dr. Philipp Tomsich
0 siblings, 0 replies; 3+ messages in thread
From: Dr. Philipp Tomsich @ 2017-09-27 22:22 UTC (permalink / raw)
To: u-boot
On 27 Sep 2017, at 21:05, Heinrich Schuchardt <xypron.glpk@gmx.de> 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 <xypron.glpk@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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-27 22:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 18:28 [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom Heinrich Schuchardt
2017-09-27 19:05 ` Heinrich Schuchardt
2017-09-27 22:22 ` Dr. Philipp Tomsich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.