summaryrefslogtreecommitdiff
path: root/drivers/usb/musb-new/linux-compat.h
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2012-11-06 13:48:29 +0000
committerMarek Vasut <marex@denx.de>2012-11-20 00:16:08 +0100
commit673a524b6a71a7ab74a48b75728307b1a5303587 (patch)
tree9808cfb258a3ac30d4741fd7c5a5c1b3c60fdb7a /drivers/usb/musb-new/linux-compat.h
parent88919ff7bf4d848ae0bb6dab933cc81bb24abc93 (diff)
downloadu-boot-673a524b6a71a7ab74a48b75728307b1a5303587.tar.gz
musb-new: omap2plus backend driver
Backend driver for MUSB OTG controllers found on TI OMAP2/3/4 (tested only on OMAP3 Beagle). Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'drivers/usb/musb-new/linux-compat.h')
-rw-r--r--drivers/usb/musb-new/linux-compat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/linux-compat.h b/drivers/usb/musb-new/linux-compat.h
index 6ecdb3eab1..5c126ef9cf 100644
--- a/drivers/usb/musb-new/linux-compat.h
+++ b/drivers/usb/musb-new/linux-compat.h
@@ -34,6 +34,7 @@ typedef unsigned long dmaaddr_t;
#define spin_unlock_irqrestore(lock, flags) do {} while (0)
#define setup_timer(timer, func, data) do {} while (0)
+#define del_timer_sync(timer) do {} while (0)
#define schedule_work(work) do {} while (0)
#define INIT_WORK(work, fun) do {} while (0)
@@ -104,4 +105,12 @@ typedef unsigned long dmaaddr_t;
#endif
#define msleep(a) udelay(a * 1000)
+
+/*
+ * Map U-Boot config options to Linux ones
+ */
+#ifdef CONFIG_OMAP34XX
+#define CONFIG_SOC_OMAP3430
+#endif
+
#endif /* __LINUX_COMPAT_H__ */