On Thu, Mar 01, 2012 at 08:08:43PM +0530, R Sricharan wrote:

> Warm reset is not functional in case of omap5430ES1.0.
> So use cold reset instead.
[snip]
> --- a/arch/arm/cpu/armv7/omap-common/reset.S
> +++ b/arch/arm/cpu/armv7/omap-common/reset.S
> @@ -23,6 +23,7 @@
>  
>  #include <config.h>
>  
> +#ifndef CONFIG_OMAP54XX
>  .global reset_cpu

As Aneesh shows in the THUMB2 support thread, there's directives to make
ASM+weak work.  Please use them.

> +static void reset_cpu_omap5(ulong addr)

Add <linux/compiler.h> and just call this 'void __weak reset_cpu(ulong
addr)'

Thanks!

-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to