diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-25 21:11:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:06 -0500 |
commit | 4de2bf8786ec8ec9a45b556e1ddf5c80c807a361 (patch) | |
tree | 7ac3dbd87b81d207c8417b5e581122ff5dba0fa4 /arch/blackfin/mach-bf518 | |
parent | 9887f41533c860777b2fcf2eccf04f95980ab52a (diff) |
Blackfin: push gpio (port) defines into common headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r-- | arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | 49 | ||||
-rw-r--r-- | arch/blackfin/mach-bf518/include/mach/gpio.h | 4 |
2 files changed, 4 insertions, 49 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h index 1ac16e7f7b76..bd2be4e93859 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | |||
@@ -770,55 +770,6 @@ | |||
770 | #define EMU_RUN 0x0200 /* Emulation Behavior Select */ | 770 | #define EMU_RUN 0x0200 /* Emulation Behavior Select */ |
771 | #define ERR_TYP 0xC000 /* Error Type */ | 771 | #define ERR_TYP 0xC000 /* Error Type */ |
772 | 772 | ||
773 | |||
774 | /* ****************** GPIO PORTS F, G, H MASKS ***********************/ | ||
775 | /* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */ | ||
776 | /* Port F Masks */ | ||
777 | #define PF0 0x0001 | ||
778 | #define PF1 0x0002 | ||
779 | #define PF2 0x0004 | ||
780 | #define PF3 0x0008 | ||
781 | #define PF4 0x0010 | ||
782 | #define PF5 0x0020 | ||
783 | #define PF6 0x0040 | ||
784 | #define PF7 0x0080 | ||
785 | #define PF8 0x0100 | ||
786 | #define PF9 0x0200 | ||
787 | #define PF10 0x0400 | ||
788 | #define PF11 0x0800 | ||
789 | #define PF12 0x1000 | ||
790 | #define PF13 0x2000 | ||
791 | #define PF14 0x4000 | ||
792 | #define PF15 0x8000 | ||
793 | |||
794 | /* Port G Masks */ | ||
795 | #define PG0 0x0001 | ||
796 | #define PG1 0x0002 | ||
797 | #define PG2 0x0004 | ||
798 | #define PG3 0x0008 | ||
799 | #define PG4 0x0010 | ||
800 | #define PG5 0x0020 | ||
801 | #define PG6 0x0040 | ||
802 | #define PG7 0x0080 | ||
803 | #define PG8 0x0100 | ||
804 | #define PG9 0x0200 | ||
805 | #define PG10 0x0400 | ||
806 | #define PG11 0x0800 | ||
807 | #define PG12 0x1000 | ||
808 | #define PG13 0x2000 | ||
809 | #define PG14 0x4000 | ||
810 | #define PG15 0x8000 | ||
811 | |||
812 | /* Port H Masks */ | ||
813 | #define PH0 0x0001 | ||
814 | #define PH1 0x0002 | ||
815 | #define PH2 0x0004 | ||
816 | #define PH3 0x0008 | ||
817 | #define PH4 0x0010 | ||
818 | #define PH5 0x0020 | ||
819 | #define PH6 0x0040 | ||
820 | #define PH7 0x0080 | ||
821 | |||
822 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/ | 773 | /* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/ |
823 | /* EBIU_AMGCTL Masks */ | 774 | /* EBIU_AMGCTL Masks */ |
824 | #define AMCKEN 0x0001 /* Enable CLKOUT */ | 775 | #define AMCKEN 0x0001 /* Enable CLKOUT */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/gpio.h b/arch/blackfin/mach-bf518/include/mach/gpio.h index 9af6ce0f6321..b480705bfc2e 100644 --- a/arch/blackfin/mach-bf518/include/mach/gpio.h +++ b/arch/blackfin/mach-bf518/include/mach/gpio.h | |||
@@ -55,4 +55,8 @@ | |||
55 | #define PORT_G GPIO_PG0 | 55 | #define PORT_G GPIO_PG0 |
56 | #define PORT_H GPIO_PH0 | 56 | #define PORT_H GPIO_PH0 |
57 | 57 | ||
58 | #include <mach-common/ports-f.h> | ||
59 | #include <mach-common/ports-g.h> | ||
60 | #include <mach-common/ports-h.h> | ||
61 | |||
58 | #endif /* _MACH_GPIO_H_ */ | 62 | #endif /* _MACH_GPIO_H_ */ |