aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf533
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-25 21:11:10 -0400
committerMike Frysinger <vapier@gentoo.org>2011-01-10 07:18:06 -0500
commit4de2bf8786ec8ec9a45b556e1ddf5c80c807a361 (patch)
tree7ac3dbd87b81d207c8417b5e581122ff5dba0fa4 /arch/blackfin/mach-bf533
parent9887f41533c860777b2fcf2eccf04f95980ab52a (diff)
Blackfin: push gpio (port) defines into common headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf533')
-rw-r--r--arch/blackfin/mach-bf533/include/mach/defBF532.h38
-rw-r--r--arch/blackfin/mach-bf533/include/mach/gpio.h2
2 files changed, 2 insertions, 38 deletions
diff --git a/arch/blackfin/mach-bf533/include/mach/defBF532.h b/arch/blackfin/mach-bf533/include/mach/defBF532.h
index 44415e509d35..c03c2e05d758 100644
--- a/arch/blackfin/mach-bf533/include/mach/defBF532.h
+++ b/arch/blackfin/mach-bf533/include/mach/defBF532.h
@@ -562,44 +562,6 @@
562#define ERR_TYP_P0 0x0E 562#define ERR_TYP_P0 0x0E
563#define ERR_TYP_P1 0x0F 563#define ERR_TYP_P1 0x0F
564 564
565/*/ ****************** PROGRAMMABLE FLAG MASKS ********************* */
566
567/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
568#define PF0 0x0001
569#define PF1 0x0002
570#define PF2 0x0004
571#define PF3 0x0008
572#define PF4 0x0010
573#define PF5 0x0020
574#define PF6 0x0040
575#define PF7 0x0080
576#define PF8 0x0100
577#define PF9 0x0200
578#define PF10 0x0400
579#define PF11 0x0800
580#define PF12 0x1000
581#define PF13 0x2000
582#define PF14 0x4000
583#define PF15 0x8000
584
585/* General Purpose IO (0xFFC00700 - 0xFFC007FF) BIT POSITIONS */
586#define PF0_P 0
587#define PF1_P 1
588#define PF2_P 2
589#define PF3_P 3
590#define PF4_P 4
591#define PF5_P 5
592#define PF6_P 6
593#define PF7_P 7
594#define PF8_P 8
595#define PF9_P 9
596#define PF10_P 10
597#define PF11_P 11
598#define PF12_P 12
599#define PF13_P 13
600#define PF14_P 14
601#define PF15_P 15
602
603/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */ 565/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */
604 566
605/* AMGCTL Masks */ 567/* AMGCTL Masks */
diff --git a/arch/blackfin/mach-bf533/include/mach/gpio.h b/arch/blackfin/mach-bf533/include/mach/gpio.h
index e02416db4b00..cce4f8fb3785 100644
--- a/arch/blackfin/mach-bf533/include/mach/gpio.h
+++ b/arch/blackfin/mach-bf533/include/mach/gpio.h
@@ -28,4 +28,6 @@
28 28
29#define PORT_F GPIO_PF0 29#define PORT_F GPIO_PF0
30 30
31#include <mach-common/ports-f.h>
32
31#endif /* _MACH_GPIO_H_ */ 33#endif /* _MACH_GPIO_H_ */