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:
28
u-boot/drivers/usb/musb-new/musb_uboot.h
Normal file
28
u-boot/drivers/usb/musb-new/musb_uboot.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* MUSB OTG driver u-boot specific functions
|
||||
*
|
||||
* Copyright © 2015 Hans de Goede <hdegoede@redhat.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
#ifndef __MUSB_UBOOT_H__
|
||||
#define __MUSB_UBOOT_H__
|
||||
|
||||
#include <usb.h>
|
||||
#include "linux-compat.h"
|
||||
#include "usb-compat.h"
|
||||
#include "musb_core.h"
|
||||
|
||||
struct musb_host_data {
|
||||
struct musb *host;
|
||||
struct usb_hcd hcd;
|
||||
enum usb_device_speed host_speed;
|
||||
struct usb_host_endpoint hep;
|
||||
struct urb urb;
|
||||
};
|
||||
|
||||
extern struct dm_usb_ops musb_usb_ops;
|
||||
|
||||
int musb_lowlevel_init(struct musb_host_data *host);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user