[PATCH 06/22] ARM: omap: fix omap_save_bootinfo

Teresa Gamez t.gamez at phytec.de
Mon Aug 26 08:00:54 EDT 2013


Hello Sascha,

Am 26.08.2013 08:55, schrieb Sascha Hauer:

>   
> diff --git a/arch/arm/boards/pcm049/lowlevel.c b/arch/arm/boards/pcm049/lowlevel.c
> index 07cc1d7..4f39600 100644
> --- a/arch/arm/boards/pcm049/lowlevel.c
> +++ b/arch/arm/boards/pcm049/lowlevel.c
> @@ -23,6 +23,7 @@
>   #include <mach/generic.h>
>   #include <mach/omap4-mux.h>
>   #include <mach/omap4-silicon.h>
> +#include <mach/omap4-generic.h>
>   #include <mach/omap4-clock.h>
>   #include <mach/syslib.h>
>   #include <asm/barebox-arm.h>
> @@ -110,7 +111,7 @@ static void noinline pcm049_init_lowlevel(void)
>   
>   void __bare_init __naked barebox_arm_reset_vector(uint32_t *data)
>   {
> -	omap_save_bootinfo();
> +	omap4_save_bootinfo(data);
>   
>   	arm_cpu_lowlevel_init();
>   
> diff --git a/arch/arm/boards/pcm051/lowlevel.c b/arch/arm/boards/pcm051/lowlevel.c
> index dd06c6a..3a637cf 100644
> --- a/arch/arm/boards/pcm051/lowlevel.c
> +++ b/arch/arm/boards/pcm051/lowlevel.c
> @@ -210,7 +210,7 @@ static int pcm051_board_init(void)

the <mach/am33xx-generic.h> include is missing here.

Teresa

>   
>   void __naked __bare_init barebox_arm_reset_vector(uint32_t *data)
>   {
> -	omap_save_bootinfo();
> +	am33xx_save_bootinfo(data);
>   
>   	arm_cpu_lowlevel_init();



More information about the barebox mailing list