diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2017-07-21 23:24:32 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-09-22 23:23:23 +0900 |
commit | 3d7b1d1bc4474d2a85dc8d1a8001258dce56806a (patch) | |
tree | 98f43b6790decddd548f3672b56472aaa15465cd /drivers/mmc/bcm2835_sdhci.c | |
parent | e884656c2c0b2406b9bf99ea76f5a8c75128a331 (diff) |
mmc: uniphier-sd: Factor out register IO
This patch prepares the driver to support controller(s) with registers
at locations shifted by constant. Pull out the readl()/writel() from
the driver into separate functions, where the adjustment of the register
offset can be easily contained.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc/bcm2835_sdhci.c')
0 files changed, 0 insertions, 0 deletions