summaryrefslogtreecommitdiff
path: root/src/portable/synopsys
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-07 23:05:05 +0700
committerhathach <[email protected]>2022-03-07 23:05:05 +0700
commit606f932d92322a71960f51148ecc91eaf29bf507 (patch)
tree10140f875d719d5b0c296b0f5bcf018a1687910e /src/portable/synopsys
parent85dbcf5473f8f5d914c4c468715c5381ab2a6603 (diff)
added dcd_sof_enable() stubs for all other ports
Diffstat (limited to 'src/portable/synopsys')
-rw-r--r--src/portable/synopsys/dwc2/dcd_dwc2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c
index c71f38d2d..37712d2d9 100644
--- a/src/portable/synopsys/dwc2/dcd_dwc2.c
+++ b/src/portable/synopsys/dwc2/dcd_dwc2.c
@@ -588,6 +588,13 @@ void dcd_disconnect(uint8_t rhport)
dwc2->dctl |= DCTL_SDIS;
}
+void dcd_sof_enable(uint8_t rhport, bool en)
+{
+ (void) rhport;
+ (void) en;
+
+ // TODO implement later
+}
/*------------------------------------------------------------------*/
/* DCD Endpoint port