diff options
author | zbb <zbb@FreeBSD.org> | 2015-11-27 18:22:04 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2015-11-27 18:22:04 +0000 |
commit | fd20cedd093bc1221cdc050bac05276a1b9a36ba (patch) | |
tree | a3afc9381829b9351459220e8c122f58444eb995 /sys/arm/samsung | |
parent | fa75108051308bec8f0d965546fc0f5421d75004 (diff) | |
download | FreeBSD-src-fd20cedd093bc1221cdc050bac05276a1b9a36ba.zip FreeBSD-src-fd20cedd093bc1221cdc050bac05276a1b9a36ba.tar.gz |
Add support for exynos5_ehci in loader
Create new driver which initializes Arndale PHY and calls ehci_init
Reviewed by: hselasky
Submitted by: Wojciech Macek <wma@semihalf.com>
Obtained from: Semihalf
Sponsored by: Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4192
Diffstat (limited to 'sys/arm/samsung')
-rw-r--r-- | sys/arm/samsung/exynos/exynos5_combiner.c | 5 | ||||
-rw-r--r-- | sys/arm/samsung/exynos/exynos5_ehci.c | 4 | ||||
-rw-r--r-- | sys/arm/samsung/exynos/exynos5_pad.c | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/sys/arm/samsung/exynos/exynos5_combiner.c b/sys/arm/samsung/exynos/exynos5_combiner.c index ffd557e..4711377 100644 --- a/sys/arm/samsung/exynos/exynos5_combiner.c +++ b/sys/arm/samsung/exynos/exynos5_combiner.c @@ -28,7 +28,9 @@ * Samsung Exynos 5 Interrupt Combiner * Chapter 7, Exynos 5 Dual User's Manual Public Rev 1.00 */ - +#ifdef USB_GLOBAL_INCLUDE_FILE +#include USB_GLOBAL_INCLUDE_FILE +#else #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -50,6 +52,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <machine/cpu.h> #include <machine/intr.h> +#endif #include <arm/samsung/exynos/exynos5_common.h> #include <arm/samsung/exynos/exynos5_combiner.h> diff --git a/sys/arm/samsung/exynos/exynos5_ehci.c b/sys/arm/samsung/exynos/exynos5_ehci.c index 6683937..a9f0314 100644 --- a/sys/arm/samsung/exynos/exynos5_ehci.c +++ b/sys/arm/samsung/exynos/exynos5_ehci.c @@ -24,6 +24,9 @@ * SUCH DAMAGE. */ +#ifdef USB_GLOBAL_INCLUDE_FILE +#include USB_GLOBAL_INCLUDE_FILE +#else #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -59,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include "gpio_if.h" #include "opt_platform.h" +#endif /* GPIO control */ #define GPIO_OUTPUT 1 diff --git a/sys/arm/samsung/exynos/exynos5_pad.c b/sys/arm/samsung/exynos/exynos5_pad.c index 19fa583..ea07f5d 100644 --- a/sys/arm/samsung/exynos/exynos5_pad.c +++ b/sys/arm/samsung/exynos/exynos5_pad.c @@ -28,7 +28,9 @@ * Samsung Exynos 5 Pad Control * Chapter 4, Exynos 5 Dual User's Manual Public Rev 1.00 */ - +#ifdef USB_GLOBAL_INCLUDE_FILE +#include USB_GLOBAL_INCLUDE_FILE +#else #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -55,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <machine/intr.h> #include "gpio_if.h" +#endif #include <arm/samsung/exynos/exynos5_combiner.h> #include <arm/samsung/exynos/exynos5_pad.h> |