* [U-Boot] [PATCH] keystone2: use correct EFUSE_BOOTROM fileds to configure speed
@ 2015-06-15 12:54 Vitaly Andrianov
2015-06-15 14:31 ` Tom Rini
2015-06-19 20:24 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 4+ messages in thread
From: Vitaly Andrianov @ 2015-06-15 12:54 UTC (permalink / raw)
To: u-boot
The get_max_arm_speed() and get_max_dev_speed() used wrong register
fields to get the maximum speeds. This commit fixes the bug.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
---
arch/arm/mach-keystone/clock.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-keystone/clock.c b/arch/arm/mach-keystone/clock.c
index d13fbc1..625907f 100644
--- a/arch/arm/mach-keystone/clock.c
+++ b/arch/arm/mach-keystone/clock.c
@@ -246,18 +246,18 @@ static inline u32 read_efuse_bootrom(void)
}
#endif
-inline int get_max_dev_speed(void)
-{
- return get_max_speed(read_efuse_bootrom() & 0xffff, dev_speeds);
-}
-
#ifndef CONFIG_SOC_K2E
inline int get_max_arm_speed(void)
{
- return get_max_speed((read_efuse_bootrom() >> 16) & 0xffff, arm_speeds);
+ return get_max_speed(read_efuse_bootrom() & 0xffff, arm_speeds);
}
#endif
+inline int get_max_dev_speed(void)
+{
+ return get_max_speed((read_efuse_bootrom() >> 16) & 0xffff, dev_speeds);
+}
+
void pass_pll_pa_clk_enable(void)
{
u32 reg;
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] keystone2: use correct EFUSE_BOOTROM fileds to configure speed
2015-06-15 12:54 [U-Boot] [PATCH] keystone2: use correct EFUSE_BOOTROM fileds to configure speed Vitaly Andrianov
@ 2015-06-15 14:31 ` Tom Rini
2015-06-19 20:24 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2015-06-15 14:31 UTC (permalink / raw)
To: u-boot
On Mon, Jun 15, 2015 at 08:54:15AM -0400, Vitaly Andrianov wrote:
> The get_max_arm_speed() and get_max_dev_speed() used wrong register
> fields to get the maximum speeds. This commit fixes the bug.
>
> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150615/6c51964b/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] keystone2: use correct EFUSE_BOOTROM fileds to configure speed
2015-06-15 12:54 [U-Boot] [PATCH] keystone2: use correct EFUSE_BOOTROM fileds to configure speed Vitaly Andrianov
2015-06-15 14:31 ` Tom Rini
@ 2015-06-19 20:24 ` Tom Rini
2015-06-23 11:33 ` Vitaly Andrianov
1 sibling, 1 reply; 4+ messages in thread
From: Tom Rini @ 2015-06-19 20:24 UTC (permalink / raw)
To: u-boot
On Mon, Jun 15, 2015 at 08:54:15AM -0400, Vitaly Andrianov wrote:
> The get_max_arm_speed() and get_max_dev_speed() used wrong register
> fields to get the maximum speeds. This commit fixes the bug.
>
> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/20fcd75a/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] keystone2: use correct EFUSE_BOOTROM fileds to configure speed
2015-06-19 20:24 ` [U-Boot] " Tom Rini
@ 2015-06-23 11:33 ` Vitaly Andrianov
0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Andrianov @ 2015-06-23 11:33 UTC (permalink / raw)
To: u-boot
On 06/19/2015 04:24 PM, Tom Rini wrote:
> On Mon, Jun 15, 2015 at 08:54:15AM -0400, Vitaly Andrianov wrote:
>
>> The get_max_arm_speed() and get_max_dev_speed() used wrong register
>> fields to get the maximum speeds. This commit fixes the bug.
>>
>> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
>> Reviewed-by: Tom Rini <trini@konsulko.com>
>
> Applied to u-boot/master, thanks!
>
Tom, Thanks!!!
-Vitaly
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-23 11:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-15 12:54 [U-Boot] [PATCH] keystone2: use correct EFUSE_BOOTROM fileds to configure speed Vitaly Andrianov
2015-06-15 14:31 ` Tom Rini
2015-06-19 20:24 ` [U-Boot] " Tom Rini
2015-06-23 11:33 ` Vitaly Andrianov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox