diff options
| author | Marek Vasut <[email protected]> | 2025-03-16 14:51:39 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-03-16 14:56:16 +0100 |
| commit | 6c219e184f9efffed88dbd82dac94c24ebb00347 (patch) | |
| tree | d4f387c2fea197a3eccc88c2ed9ea2957f1abe24 /drivers | |
| parent | 15111aeb9c7ac7a8cbe6444090098a440d2bbb4f (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/ram/renesas/dbsc5/dram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ram/renesas/dbsc5/dram.c b/drivers/ram/renesas/dbsc5/dram.c index 210a68f6496..939775d4d16 100644 --- a/drivers/ram/renesas/dbsc5/dram.c +++ b/drivers/ram/renesas/dbsc5/dram.c @@ -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; } |
