diff options
author | Jaehoon Chung | 2011-10-17 12:36:23 +0200 |
---|---|---|
committer | Chris Ball | 2011-10-26 22:32:25 +0200 |
commit | 4e0a5adf46ee7810af2e1b7e4e8c2a298652618e (patch) | |
tree | 64b60adcedd341a02a8f150ce7257e2b0eb40e0c /include/linux/mmc/core.h | |
parent | mmc: sdhci-pci: add flag for devices that can support runtime PM (diff) | |
download | kernel-qcow2-linux-4e0a5adf46ee7810af2e1b7e4e8c2a298652618e.tar.gz kernel-qcow2-linux-4e0a5adf46ee7810af2e1b7e4e8c2a298652618e.tar.xz kernel-qcow2-linux-4e0a5adf46ee7810af2e1b7e4e8c2a298652618e.zip |
mmc: dw_mmc: modify DATA register offset
In dw_mmc 2.40a spec, Data register's offset is changed.
Before we used Data register offset 0x100. but if somebody uses a
2.40a controller, we must use 0x200 for Data register.
This patch adds a version-id checking point and uses SDMMC_DATA(x)
instead of SDMMC_DATA. It assumes 2.40a is the latest version.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/core.h')
0 files changed, 0 insertions, 0 deletions