summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5420/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/samsung/exynos5420/usb.h')
-rw-r--r--src/cpu/samsung/exynos5420/usb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5420/usb.h b/src/cpu/samsung/exynos5420/usb.h
index 7837eb2f80..7eb317c68e 100644
--- a/src/cpu/samsung/exynos5420/usb.h
+++ b/src/cpu/samsung/exynos5420/usb.h
@@ -20,6 +20,8 @@
#ifndef CPU_SAMSUNG_EXYNOS5420_USB_H
#define CPU_SAMSUNG_EXYNOS5420_USB_H
+#include "cpu.h"
+
#define CLK_24MHZ 5
#define HOST_CTRL0_PHYSWRSTALL (1 << 31)
@@ -57,6 +59,9 @@ struct exynos5_usb_host_phy {
uint32_t usbotgtune;
};
+static struct exynos5_usb_host_phy * const exynos_usb_host_phy =
+ (void *)EXYNOS5_USB_HOST_PHY_BASE;
+
/* Leave hsic_gpio at 0 to not enable HSIC. */
void setup_usb_host_phy(int hsic_gpio);