summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:26:54 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:02:48 +0900
commit44f597adebb369ceb5921d4f18b73e415e83441f (patch)
treef4452efae34eee72148fbd041d3439cda8d8e1ae /arch/arm/mach-uniphier/include
parent42ca6982ff932b2f972bdaeb076ea4ce519a1117 (diff)
downloadu-boot-imx-44f597adebb369ceb5921d4f18b73e415e83441f.zip
u-boot-imx-44f597adebb369ceb5921d4f18b73e415e83441f.tar.gz
u-boot-imx-44f597adebb369ceb5921d4f18b73e415e83441f.tar.bz2
ARM: UniPhier: remove EHCI platform devices
Now UniPhier platform highly depends on Device Tree configuration (CONFIG_OF_CONTROL is select'ed by Kconfig). Since the EHCI is only used on main U-Boot, we can drop platform devices of the EHCI controllers. We still keep UART platform devices because they might be useful for SPL. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-uniphier/include')
-rw-r--r--arch/arm/mach-uniphier/include/mach/ehci-uniphier.h8
-rw-r--r--arch/arm/mach-uniphier/include/mach/platdevice.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-uniphier/include/mach/ehci-uniphier.h b/arch/arm/mach-uniphier/include/mach/ehci-uniphier.h
index e9c5fb4..3ba3183 100644
--- a/arch/arm/mach-uniphier/include/mach/ehci-uniphier.h
+++ b/arch/arm/mach-uniphier/include/mach/ehci-uniphier.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014 Panasonic Corporation
+ * Copyright (C) 2014-2015 Panasonic Corporation
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
*
* SPDX-License-Identifier: GPL-2.0+
@@ -12,12 +12,6 @@
#include <asm/io.h>
#include "mio-regs.h"
-struct uniphier_ehci_platform_data {
- unsigned long base;
-};
-
-extern struct uniphier_ehci_platform_data uniphier_ehci_platdata[];
-
static inline void uniphier_ehci_reset(int index, int on)
{
u32 tmp;
diff --git a/arch/arm/mach-uniphier/include/mach/platdevice.h b/arch/arm/mach-uniphier/include/mach/platdevice.h
index b004c2f..cdf7d13 100644
--- a/arch/arm/mach-uniphier/include/mach/platdevice.h
+++ b/arch/arm/mach-uniphier/include/mach/platdevice.h
@@ -21,6 +21,4 @@ U_BOOT_DEVICE(serial##n) = { \
.platdata = &serial_device##n \
};
-#include <mach/ehci-uniphier.h>
-
#endif /* ARCH_PLATDEVICE_H */