summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/include/mach/sama5d3.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-03-23 12:44:36 +0800
committerSimon Glass <sjg@chromium.org>2017-04-13 14:44:50 -0600
commit2dc63f73678c18831efce3ec1a383375aa5423f1 (patch)
tree899bacd5e28eb86beb2b6d59a71274f902a58d8d /arch/arm/mach-at91/include/mach/sama5d3.h
parent0de077df38a6a1120acf7833572d1ffc8f209f33 (diff)
gpio: at91_gpio: remove CPU_HAS_PIO3 macro
The intention of the removal is the preparation to introduce the new AT91 PIO pinctrl driver. Use the union to make the PIO3 and PIO2's registers be together and make their offset aligned. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/sama5d3.h')
-rw-r--r--arch/arm/mach-at91/include/mach/sama5d3.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h
index 33f6c97c11..d558f95141 100644
--- a/arch/arm/mach-at91/include/mach/sama5d3.h
+++ b/arch/arm/mach-at91/include/mach/sama5d3.h
@@ -188,8 +188,6 @@
* Other misc defines
*/
#define ATMEL_PIO_PORTS 5
-#define CPU_HAS_PIO3
-#define PIO_SCDR_DIV 0x3fff
#define CPU_HAS_PCR
/* Timer */