summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/ddrphy_utils.c
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2022-05-20 11:23:37 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2022-07-13 23:03:37 +0200
commit86062e7a5deb8b32112f6c05403b6a2e5d9f1853 (patch)
tree20a82ed33407d7f74b27ebf1ee7edde00f026d40 /drivers/ddr/imx/imx8m/ddrphy_utils.c
parent528e483a09db22798aec022fc6ca2f4ab40670d4 (diff)
net: mediatek: use regmap api to modify ethsys registers
The address returned by regmap_get_range() is not remapped. Directly r/w to this address is ok for ARM platforms since it's idential to the virtual address. But for MIPS platform only virtual address should be used for access. To solve this issue, the regmap api regmap_read/regmap_write should be used since they will remap address before accessing. Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions