[U-Boot] [PATCH V2 18/18] OMAP5: reset: Use cold reset in case of 5430ES1.0

Tom Rini trini at ti.com
Mon Mar 5 18:42:53 CET 2012


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


More information about the U-Boot mailing list