summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include
diff options
context:
space:
mode:
authorAndrew Victor2012-04-26 02:30:42 +0200
committerDavid S. Miller2012-04-29 03:48:37 +0200
commitc5f0f83c3be4c965c40c78d52000db30c0ceab5d (patch)
tree0e3dbeef02ae0b78325ca1da997ee3507255110e /arch/arm/mach-at91/include
parentnet: Fixed a coding style issue related to spaces. (diff)
downloadkernel-qcow2-linux-c5f0f83c3be4c965c40c78d52000db30c0ceab5d.tar.gz
kernel-qcow2-linux-c5f0f83c3be4c965c40c78d52000db30c0ceab5d.tar.xz
kernel-qcow2-linux-c5f0f83c3be4c965c40c78d52000db30c0ceab5d.zip
AT91: Remove fixed mapping for AT91RM9200 ethernet
The AT91RM9200 Ethernet controller still has a fixed IO mapping. So: * Remove the fixed IO mapping and AT91_VA_BASE_EMAC definition. * Pass the physical base-address via platform-resources to the driver. * Convert at91_ether.c driver to perform an ioremap(). * Ethernet PHY detection needs to be performed during the driver initialization process, it can no longer be done first. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-at91/include')
-rw-r--r--arch/arm/mach-at91/include/mach/hardware.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h
index e9e29a6c3868..01db372be8e5 100644
--- a/arch/arm/mach-at91/include/mach/hardware.h
+++ b/arch/arm/mach-at91/include/mach/hardware.h
@@ -94,7 +94,6 @@
* Virtual to Physical Address mapping for IO devices.
*/
#define AT91_VA_BASE_SYS AT91_IO_P2V(AT91_BASE_SYS)
-#define AT91_VA_BASE_EMAC AT91_IO_P2V(AT91RM9200_BASE_EMAC)
/* Internal SRAM is mapped below the IO devices */
#define AT91_SRAM_MAX SZ_1M