mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
clk: armada-37xx-periph: fix DDR PHY clock divider values
Register value table for DDR PHY clock divider are wrong. They should be 0 or 1 for divide-by-2 or divide-by-4, respectively. Not 1 or 2. Current values do not make sense, since 2 cannot be achieved, because the register is only 1 bit long (mask is set to 1). This fixes clk dump reporting DDR PHY clock rate differently from Linux. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
bdcb29960e
commit
239f424f49
@ -89,8 +89,8 @@ static const struct clk_div_table div_table1[] = {
|
||||
};
|
||||
|
||||
static const struct clk_div_table div_table2[] = {
|
||||
{ 2, 1 },
|
||||
{ 4, 2 },
|
||||
{ 2, 0 },
|
||||
{ 4, 1 },
|
||||
{ 0, 0 },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user