diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-17 15:49:26 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-07-25 11:22:55 +0200 |
commit | d42faf3198262710d17548950e1ab41413e8b7f9 (patch) | |
tree | c97b569101cd05beb88aadfc1bf3dc2192e6703c /arch | |
parent | 71cbe0d681d4288d090a404273ce6b0c1c14b617 (diff) | |
download | u-boot-d42faf3198262710d17548950e1ab41413e8b7f9.tar.gz u-boot-d42faf3198262710d17548950e1ab41413e8b7f9.tar.bz2 u-boot-d42faf3198262710d17548950e1ab41413e8b7f9.zip |
sunxi: musb: Move musb config and platdata to the sunxi-musb glue
Move the musb config and platdata to the sunxi-musb glue, which is where
it really belongs. This is preparation patch for adding device-model
support for the sunxi-musb-host code.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/usb_phy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/usb_phy.h b/arch/arm/include/asm/arch-sunxi/usb_phy.h index 5a9cacb6f4..17d31b8e31 100644 --- a/arch/arm/include/asm/arch-sunxi/usb_phy.h +++ b/arch/arm/include/asm/arch-sunxi/usb_phy.h @@ -19,3 +19,10 @@ void sunxi_usb_phy_power_off(int index); int sunxi_usb_phy_vbus_detect(int index); int sunxi_usb_phy_id_detect(int index); void sunxi_usb_phy_enable_squelch_detect(int index, int enable); + +/* Not really phy related, but we have to declare this somewhere ... */ +#if defined(CONFIG_MUSB_HOST) || defined(CONFIG_MUSB_GADGET) +void sunxi_musb_board_init(void); +#else +#define sunxi_musb_board_init() +#endif |