mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
24 lines
602 B
C
24 lines
602 B
C
/*
|
|
* Board data structure for musb gadget on OMAPs
|
|
*
|
|
* Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_OMAP_MUSB_H
|
|
#define __ASM_ARM_OMAP_MUSB_H
|
|
|
|
extern struct musb_platform_ops musb_dsps_ops;
|
|
extern const struct musb_platform_ops am35x_ops;
|
|
extern const struct musb_platform_ops omap2430_ops;
|
|
|
|
struct omap_musb_board_data {
|
|
u8 interface_type;
|
|
void (*set_phy_power)(u8 on);
|
|
void (*clear_irq)(void);
|
|
void (*reset)(void);
|
|
};
|
|
|
|
enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
|
|
#endif /* __ASM_ARM_OMAP_MUSB_H */
|