summaryrefslogtreecommitdiff
path: root/src/portable/sunxi
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/sunxi
parent85dbcf5473f8f5d914c4c468715c5381ab2a6603 (diff)
added dcd_sof_enable() stubs for all other ports
Diffstat (limited to 'src/portable/sunxi')
-rw-r--r--src/portable/sunxi/dcd_sunxi_musb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/sunxi/dcd_sunxi_musb.c b/src/portable/sunxi/dcd_sunxi_musb.c
index 27514339b..a0be846a5 100644
--- a/src/portable/sunxi/dcd_sunxi_musb.c
+++ b/src/portable/sunxi/dcd_sunxi_musb.c
@@ -909,6 +909,14 @@ void dcd_disconnect(uint8_t rhport)
USBC_REG_clear_bit_b(USBC_BP_POWER_D_SOFT_CONNECT, USBC_REG_PCTL(USBC0_BASE));
}
+void dcd_sof_enable(uint8_t rhport, bool en)
+{
+ (void) rhport;
+ (void) en;
+
+ // TODO implement later
+}
+
void dcd_int_enable(uint8_t rhport)
{
(void)rhport;