aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/mach-bf561/def_local.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-02 04:17:26 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-05 05:30:07 -0400
commit4638b21f2ebc3781def51e82fb4e425a468f2e49 (patch)
tree266a39ad5d1f0b849a5352530fcf45f9f7ea1fe0 /arch/blackfin/include/asm/mach-bf561/def_local.h
parent5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd (diff)
downloadu-boot-linaro-stable-4638b21f2ebc3781def51e82fb4e425a468f2e49.tar.gz
Blackfin: import gpio/portmux layer from Linux
The current pinmux handling has spread throughout Blackfin drivers and board code and is getting hideous to maintain. So import the gpio and portmux layer from the Blackfin Linux code. This should spur a serious of cleanups across the Blackfin tree. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/mach-bf561/def_local.h')
-rw-r--r--arch/blackfin/include/asm/mach-bf561/def_local.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/mach-bf561/def_local.h b/arch/blackfin/include/asm/mach-bf561/def_local.h
index 597dcecd8..08e37e5e1 100644
--- a/arch/blackfin/include/asm/mach-bf561/def_local.h
+++ b/arch/blackfin/include/asm/mach-bf561/def_local.h
@@ -9,4 +9,8 @@
#define bfin_write_WDOG_CTL(val) bfin_write_WDOGA_CTL(val)
#define bfin_write_WDOG_STAT(val) bfin_write_WDOGA_STAT(val)
+#include "gpio.h"
+#include "portmux.h"
#include "ports.h"
+
+#define BF561_FAMILY 1 /* Linux glue */