mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 10:56:02 +01:00
include: dwc3-omap-uboot: add a structure for populating dwc3-omap platform data
Added a structure to populate dwc3 omap platform data. The board file should populate these platform data before invoking dwc3 omap driver. This will be removed once dwc3-omap driver is adapted to use the driver model. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
committed by
Marek Vasut
parent
3f52e1b985
commit
93c3763810
@@ -120,13 +120,6 @@ struct dwc3_omap {
|
||||
u32 dma_status:1;
|
||||
};
|
||||
|
||||
enum omap_dwc3_vbus_id_status {
|
||||
OMAP_DWC3_ID_FLOAT,
|
||||
OMAP_DWC3_ID_GROUND,
|
||||
OMAP_DWC3_VBUS_OFF,
|
||||
OMAP_DWC3_VBUS_VALID,
|
||||
};
|
||||
|
||||
static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset)
|
||||
{
|
||||
return readl(base + offset);
|
||||
|
||||
Reference in New Issue
Block a user