summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-se
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2018-01-06 21:53:27 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-09 12:21:14 -0500
commitf9a531d6731d74f1e24298d9641c2dc1fef2631b (patch)
tree475144c8b460716df995f6da19130d5fe4852232 /arch/sh/include/mach-se
parent195e2addbce09e5afbc766efc1e6567c9ce840d3 (diff)
downloadlinux-f9a531d6731d74f1e24298d9641c2dc1fef2631b.tar.gz
linux-f9a531d6731d74f1e24298d9641c2dc1fef2631b.tar.bz2
linux-f9a531d6731d74f1e24298d9641c2dc1fef2631b.zip
SolutionEngine771x: add Ether TSU resource
After the Ether platform data is fixed, the driver probe() method would still fail since the 'struct sh_eth_cpu_data' corresponding to SH771x indicates the presence of TSU but the memory resource for it is absent. Add the missing TSU resource to both Ether devices and fix the harmless off-by-one error in the main memory resources, while at it... Fixes: 4986b996882d ("net: sh_eth: remove the SH_TSU_ADDR") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh/include/mach-se')
-rw-r--r--arch/sh/include/mach-se/mach/se.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/mach-se/mach/se.h b/arch/sh/include/mach-se/mach/se.h
index 4246ef9b07a3..aa83fe1ff0b1 100644
--- a/arch/sh/include/mach-se/mach/se.h
+++ b/arch/sh/include/mach-se/mach/se.h
@@ -100,6 +100,7 @@
/* Base address */
#define SH_ETH0_BASE 0xA7000000
#define SH_ETH1_BASE 0xA7000400
+#define SH_TSU_BASE 0xA7000800
/* PHY ID */
#if defined(CONFIG_CPU_SUBTYPE_SH7710)
# define PHY_ID 0x00