Skip to contentSkip to conversation

memory: tegra: Correct shift value of apew

PATCH Applied Nicolin Chen 2 participants 2 messages Aug 18, 2020 – Aug 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memory: tegra: Correct shift value of apew

According to Tegra X1 (Tegra210) TRM, the APEW field is between [23:16] so the shift bit for apew should be 16 accordingly.

---
 drivers/memory/tegra/tegra210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/memory/tegra/tegra210.c +1 -1
index eab4bc01c8bc..51b537cfa5a7 100644
@@ -842,7 +842,7 @@ static const struct tegra_mc_client tegra210_mc_clients[] = {
 		},
 		.la = {
 			.reg = 0x3dc,
-			.shift = 0,
+			.shift = 16,
 			.mask = 0xff,
 			.def = 0x80,
 		},
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Nicolin Chen

According to Tegra X1 (Tegra210) TRM, the APEW field is between [23:16] so the shift bit for apew should be 16 accordingly.

---
 drivers/memory/tegra/tegra210.c | 2 +-

Thanks, applied to drivers/memory.

Best regards,
Krzysztof