[U-Boot] [PATCH 2/4] OMAP3, AM35x: Detect exact CPU in arch_cpu_init()

Wolfgang Denk wd at denx.de
Wed Dec 16 23:11:21 CET 2009


Dear Sanjeev Premi,

In message <1260902266-26009-3-git-send-email-premi at ti.com> you wrote:
> This patch identifies exact cpu in function arch_cpu_init().
> 
> It does the following:
> - It consolidates all related #defines into omap3.h.
> - Prefixes CTRL_ to #defines used in comparison against
>   contents of Control Status Register returned by the
>   function get_cpu_type().
> - Adds new #defines to identify exact CPU id.
> 
> Signed-off-by: Sanjeev Premi <premi at ti.com>
...
> +		cputype = get_cpu_type();
> +		switch (cpu_family)
> +		{

Incorrect brace style, please move the brace on previous line.



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
######## This message was made from 100% recycled electrons. ########


More information about the U-Boot mailing list