* [PATCH] ARM: phycard-imx6: fixup for barebox_arm_entry signature change
@ 2014-05-06 19:28 Lucas Stach
2014-05-07 7:21 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2014-05-06 19:28 UTC (permalink / raw)
To: barebox
This board wasn't changed properly, as it was merged in the short
timeframe where the signature change waited to be applied. Change
it now to get rid of the compiler warning.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
Sascha, please apply to master.
---
arch/arm/boards/phytec-phycard-imx6/lowlevel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
index 14df18f83543..64312b02437c 100644
--- a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
+++ b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
@@ -57,7 +57,7 @@ extern char __dtb_imx6q_phytec_pbaa03_start[];
static void __noreturn start_imx6q_phytec_pbaa03_common(uint32_t size)
{
- uint32_t fdt;
+ void *fdt;
arm_cpu_lowlevel_init();
@@ -66,7 +66,7 @@ static void __noreturn start_imx6q_phytec_pbaa03_common(uint32_t size)
if (IS_ENABLED(CONFIG_DEBUG_LL))
setup_uart();
- fdt = (uint32_t)__dtb_imx6q_phytec_pbaa03_start - get_runtime_offset();
+ fdt = __dtb_imx6q_phytec_pbaa03_start - get_runtime_offset();
barebox_arm_entry(0x10000000, size, fdt);
}
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: phycard-imx6: fixup for barebox_arm_entry signature change
2014-05-06 19:28 [PATCH] ARM: phycard-imx6: fixup for barebox_arm_entry signature change Lucas Stach
@ 2014-05-07 7:21 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-05-07 7:21 UTC (permalink / raw)
To: Lucas Stach; +Cc: barebox
On Tue, May 06, 2014 at 09:28:16PM +0200, Lucas Stach wrote:
> This board wasn't changed properly, as it was merged in the short
> timeframe where the signature change waited to be applied. Change
> it now to get rid of the compiler warning.
>
> Signed-off-by: Lucas Stach <dev@lynxeye.de>
Applied, thanks
Sascha
> ---
> Sascha, please apply to master.
> ---
> arch/arm/boards/phytec-phycard-imx6/lowlevel.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
> index 14df18f83543..64312b02437c 100644
> --- a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
> +++ b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
> @@ -57,7 +57,7 @@ extern char __dtb_imx6q_phytec_pbaa03_start[];
>
> static void __noreturn start_imx6q_phytec_pbaa03_common(uint32_t size)
> {
> - uint32_t fdt;
> + void *fdt;
>
> arm_cpu_lowlevel_init();
>
> @@ -66,7 +66,7 @@ static void __noreturn start_imx6q_phytec_pbaa03_common(uint32_t size)
> if (IS_ENABLED(CONFIG_DEBUG_LL))
> setup_uart();
>
> - fdt = (uint32_t)__dtb_imx6q_phytec_pbaa03_start - get_runtime_offset();
> + fdt = __dtb_imx6q_phytec_pbaa03_start - get_runtime_offset();
>
> barebox_arm_entry(0x10000000, size, fdt);
> }
> --
> 1.9.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-07 7:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 19:28 [PATCH] ARM: phycard-imx6: fixup for barebox_arm_entry signature change Lucas Stach
2014-05-07 7:21 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox