summaryrefslogtreecommitdiff
path: root/include/linux/mfd/asic3.h
diff options
context:
space:
mode:
authorPaul Parsons <lost.distance@yahoo.com>2011-05-15 14:13:11 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:45:51 +0200
commit74e32d1b68f177f9c998041d789253df9c7f3575 (patch)
tree62b2d36ed8025f0034ef2fce1b1eaa98e9437180 /include/linux/mfd/asic3.h
parentd910774f13678caf68fc9cbbef325f08f7f951a3 (diff)
mfd: Fix ASIC3 SD Host Controller Configuration size
The size of the TC6380AF SD Host Controller Configuration area is 0x200 bytes (assuming registers are aligned on 32-bit boundaries), not 0x400 bytes. Source: Toshiba TC6380AF Specification sections 4.2 and 4.3.1 Signed-off-by: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/asic3.h')
-rw-r--r--include/linux/mfd/asic3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/asic3.h b/include/linux/mfd/asic3.h
index d0dd3ebd8488..ed793b77a1c5 100644
--- a/include/linux/mfd/asic3.h
+++ b/include/linux/mfd/asic3.h
@@ -297,6 +297,7 @@ struct asic3_platform_data {
*
*****************************************************************************/
#define ASIC3_SD_CONFIG_BASE 0x0400 /* Assumes 32 bit addressing */
+#define ASIC3_SD_CONFIG_SIZE 0x0200 /* Assumes 32 bit addressing */
#define ASIC3_SD_CTRL_BASE 0x1000
#define ASIC3_SDIO_CTRL_BASE 0x1200