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

Bo Shen voice.shen at atmel.com
Tue Jul 29 03:10:53 PDT 2014


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>
---
 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




More information about the barebox mailing list