avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
32
u-boot/include/dwc3-omap-uboot.h
Normal file
32
u-boot/include/dwc3-omap-uboot.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* include/dwc3_omap_uboot.h
|
||||
*
|
||||
* Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
|
||||
*
|
||||
* Designware SuperSpeed OMAP Glue uboot init
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#ifndef __DWC3_OMAP_UBOOT_H_
|
||||
#define __DWC3_OMAP_UBOOT_H_
|
||||
|
||||
#include <linux/usb/dwc3-omap.h>
|
||||
|
||||
enum omap_dwc3_vbus_id_status {
|
||||
OMAP_DWC3_ID_FLOAT,
|
||||
OMAP_DWC3_ID_GROUND,
|
||||
OMAP_DWC3_VBUS_OFF,
|
||||
OMAP_DWC3_VBUS_VALID,
|
||||
};
|
||||
|
||||
struct dwc3_omap_device {
|
||||
void *base;
|
||||
int index;
|
||||
enum dwc3_omap_utmi_mode utmi_mode;
|
||||
enum omap_dwc3_vbus_id_status vbus_id_status;
|
||||
};
|
||||
|
||||
int dwc3_omap_uboot_init(struct dwc3_omap_device *dev);
|
||||
void dwc3_omap_uboot_exit(int index);
|
||||
int dwc3_omap_uboot_interrupt_status(int index);
|
||||
#endif /* __DWC3_OMAP_UBOOT_H_ */
|
||||
Reference in New Issue
Block a user