summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/omap3.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-13 02:33:18 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-15 14:39:58 (GMT)
commit864896be3bd50fd751c1d6e5ae14cc2f2da150c8 (patch)
treea6b7d46bf4b3207eb97f1f79e29adf88c9db8e9a /drivers/usb/musb/omap3.h
parentd87f82967fc90ca23672451f55eeb2a36f2f36c7 (diff)
downloadu-boot-fsl-qoriq-864896be3bd50fd751c1d6e5ae14cc2f2da150c8.tar.xz
omap3: Drop CONFIG_OMAP3_EVM, switch to CONFIG_TARGET_OMAP3_EVM when needed
We make use of CONFIG_OMAP3_EVM today to know when to do a specific tweak in MUSB. This can be tested on via CONFIG_TARGET_OMAP3_EVM instead, so switch there so we can drop the now unused symbol CONFIG_OMAP3_EVM. In investigating what to do about the symbol usage we see that the cairo board defines the same function, but never called it (as it does not define CONFIG_OMAP3_EVM) and was just returning anyhow, so drop that function from that board. Cc: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/musb/omap3.h')
-rw-r--r--drivers/usb/musb/omap3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap3.h b/drivers/usb/musb/omap3.h
index ae645c7..d91ad0a 100644
--- a/drivers/usb/musb/omap3.h
+++ b/drivers/usb/musb/omap3.h
@@ -32,7 +32,7 @@
int musb_platform_init(void);
-#ifdef CONFIG_OMAP3_EVM
+#ifdef CONFIG_TARGET_OMAP3_EVM
extern u8 omap3_evm_need_extvbus(void);
#endif