mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
ram: renesas: dbsc5: Fix bitrate MD pin parsing
Fix copy paste error in MD pin handling for 5500 Mbps and 4800 Mbps case, each should be handled by MD[19,17] == 2 and MD[19,17] == 3 respectively. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
15111aeb9c
commit
6c219e184f
1 changed files with 2 additions and 2 deletions
|
@ -4450,10 +4450,10 @@ static int renesas_dbsc5_dram_probe(struct udevice *dev)
|
|||
} else if (md == 1) {
|
||||
priv->ddr_mbps = 6000;
|
||||
priv->ddr_mbpsdiv = 1;
|
||||
} else if (md == 1) {
|
||||
} else if (md == 2) {
|
||||
priv->ddr_mbps = 5500;
|
||||
priv->ddr_mbpsdiv = 1;
|
||||
} else if (md == 1) {
|
||||
} else if (md == 3) {
|
||||
priv->ddr_mbps = 4800;
|
||||
priv->ddr_mbpsdiv = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue