[PATCH] ARM: at91: clock: fix the pllb checking

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 29 05:36:22 PDT 2014


On Tue, Jul 29, 2014 at 06:10:53PM +0800, Bo Shen wrote:
> On at91sam9n12 soc, it has pllb, while on sama5d3 soc,
> it doesn't has pllb.
> 
> Signed-off-by: Bo Shen <voice.shen at atmel.com>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-at91/clock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
> index 59c4d11..9d2a846 100644
> --- a/arch/arm/mach-at91/clock.c
> +++ b/arch/arm/mach-at91/clock.c
> @@ -65,7 +65,7 @@
>  #define cpu_has_pllb()		(!(cpu_is_at91sam9rl() \
>  				|| cpu_is_at91sam9g45() \
>  				|| cpu_is_at91sam9x5() \
> -				|| cpu_is_at91sam9n12()))
> +				|| cpu_is_sama5d3()))
>  
>  #define cpu_has_upll()		(cpu_is_at91sam9g45() \
>  				|| cpu_is_at91sam9x5() \
> -- 
> 1.8.5.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list