projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6efb613
)
imx: imx6ul: correct get_cpu_speed_grade_hz on 696MHz SoCs
author
Sébastien Szymanski
<sebastien.szymanski@armadeus.com>
Wed, 2 Aug 2017 15:05:26 +0000
(17:05 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 16 Aug 2017 09:44:57 +0000
(11:44 +0200)
Return the correct value when the speed grade is 696MHz.
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/mach-imx/mx6/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mx6/soc.c
b/arch/arm/mach-imx/mx6/soc.c
index af316735ee83917060cc929b1fe01457928c4a5e..760745656feb9fa80f5d27d39e21669bc8529953 100644
(file)
--- a/
arch/arm/mach-imx/mx6/soc.c
+++ b/
arch/arm/mach-imx/mx6/soc.c
@@
-130,7
+130,7
@@
u32 get_cpu_speed_grade_hz(void)
if (val == OCOTP_CFG3_SPEED_528MHZ)
return 528000000;
else if (val == OCOTP_CFG3_SPEED_696MHZ)
- return 69600000;
+ return 69600000
0
;
else
return 0;
}