summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-01-27 09:17:21 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-02-02 13:02:16 +0900
commit010ab820582d03bcd3648416b5837107e8a9c5f3 (patch)
tree074fb1fba3a498072fce060e04196e0d590b9154 /include
parentb79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c (diff)
downloadblackbird-op-linux-010ab820582d03bcd3648416b5837107e8a9c5f3.tar.gz
blackbird-op-linux-010ab820582d03bcd3648416b5837107e8a9c5f3.zip
mtd: sh_flctl SHBUSSEL and SEL_16BIT support
This patch extends the sh_flctl driver with support for 16-bit bus configuration using SEL_16BIT and support for multiplexed pins using SHBUSSEL. Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/sh_flctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/sh_flctl.h b/include/linux/mtd/sh_flctl.h
index 164c9d4013c0..ab77609ec337 100644
--- a/include/linux/mtd/sh_flctl.h
+++ b/include/linux/mtd/sh_flctl.h
@@ -51,6 +51,8 @@
#define _4ECCCNTEN (0x1 << 24)
#define _4ECCEN (0x1 << 23)
#define _4ECCCORRECT (0x1 << 22)
+#define SHBUSSEL (0x1 << 20)
+#define SEL_16BIT (0x1 << 19)
#define SNAND_E (0x1 << 18) /* SNAND (0=512 1=2048)*/
#define QTSEL_E (0x1 << 17)
#define ENDIAN (0x1 << 16) /* 1 = little endian */
OpenPOWER on IntegriCloud