[U-Boot] [PATCH 1/6] tegra: Move cpu_init_cp15() to arch_cpu_init()

Mike Frysinger vapier at gentoo.org
Thu Nov 24 00:34:21 CET 2011


On Wednesday 23 November 2011 17:59:03 Simon Glass wrote:
> --- a/arch/arm/cpu/armv7/tegra2/board.c
> +++ b/arch/arm/cpu/armv7/tegra2/board.c
> @@ -80,6 +80,9 @@ int arch_cpu_init(void)
>  {
>  	/* Fire up the Cortex A9 */
>  	tegra2_start();
> +
> +	/* We didn't do this init in start.S, so do it now */
> +	cpu_init_cp15();
>  	return 0;
>  }

probably a pain since you've got a bunch of little patches, but there should 
be a blank line before that return statement.  it was semi-OK because before 
there were only two statements in this func, but now that there are more, the 
return should be by itself.

i'll leave it up to you/tegra-maintainer if this really needs to get fixed in 
all the patches, or just the last one.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111123/1b9d9934/attachment.pgp>


More information about the U-Boot mailing list