summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-11 16:32:57 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 15:17:27 -0700
commit757fe635df1c5fc9448db84e458482cf63f0fd21 (patch)
tree70eca62cea3110f1fbc623241d02ffea2ff04437 /arch/arm/include
parent59088e4a762d5ea2791b6ecd39c81765ba4c4546 (diff)
downloadu-boot-imx-757fe635df1c5fc9448db84e458482cf63f0fd21.zip
u-boot-imx-757fe635df1c5fc9448db84e458482cf63f0fd21.tar.gz
u-boot-imx-757fe635df1c5fc9448db84e458482cf63f0fd21.tar.bz2
dm: at91: Drop use of ATMEL_PIO_PORTS in the header file
With driver model the number of PIO ports is defined by platform data, so remove it from the header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-at91/at91_pio.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/include/asm/arch-at91/at91_pio.h b/arch/arm/include/asm/arch-at91/at91_pio.h
index 50464ff..3012278 100644
--- a/arch/arm/include/asm/arch-at91/at91_pio.h
+++ b/arch/arm/include/asm/arch-at91/at91_pio.h
@@ -114,14 +114,10 @@ typedef union at91_pio {
at91_port_t pioa;
at91_port_t piob;
at91_port_t pioc;
- #if (ATMEL_PIO_PORTS > 3)
- at91_port_t piod;
- #endif
- #if (ATMEL_PIO_PORTS > 4)
- at91_port_t pioe;
- #endif
- } ;
- at91_port_t port[ATMEL_PIO_PORTS];
+ at91_port_t piod; /* not present in all hardware */
+ at91_port_t pioe;/* not present in all hardware */
+ };
+ at91_port_t port[5];
} at91_pio_t;
#ifdef CONFIG_AT91_GPIO