summaryrefslogtreecommitdiff
path: root/src/portable/ehci
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-05-23 21:45:00 +0700
committerGitHub <[email protected]>2023-05-23 21:45:00 +0700
commit1ef820ecfe569e181b8f20cb936f632e51d8257e (patch)
tree3a170e7c11de223c988a594c5189c4d39f1869ff /src/portable/ehci
parentc998e9c60bc76894006c3bd049d661124a9bfbfd (diff)
Enhance chipidea (#2075)
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead * add dcd dcache for chipidea * add cmake for lpc18 * add makefile build for mcx * use fork of mcu sdk * fix ci build with nrf * flash rp2040 with openocd
Diffstat (limited to 'src/portable/ehci')
-rw-r--r--src/portable/ehci/ehci.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c
index 852e7f4fe..2b25eee9d 100644
--- a/src/portable/ehci/ehci.c
+++ b/src/portable/ehci/ehci.c
@@ -163,22 +163,15 @@ static inline void list_insert (ehci_link_t *current, ehci_link_t *new, uint8_t
static inline ehci_link_t* list_next (ehci_link_t const *p_link);
TU_ATTR_WEAK void hcd_dcache_clean(void* addr, uint32_t data_size) {
- (void) addr;
- (void) data_size;
+ (void) addr; (void) data_size;
}
-// invalidate data cache: mark cache as invalid, next read will read from memory
-// Required BOTH before and after an DMA RX transfer
TU_ATTR_WEAK void hcd_dcache_invalidate(void* addr, uint32_t data_size) {
- (void) addr;
- (void) data_size;
+ (void) addr; (void) data_size;
}
-// clean and invalidate data cache
-// Required before an DMA transfer where memory is both read/write by DMA
TU_ATTR_WEAK void hcd_dcache_clean_invalidate(void* addr, uint32_t data_size) {
- (void) addr;
- (void) data_size;
+ (void) addr; (void) data_size;
}
//--------------------------------------------------------------------+