summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-11-26 10:20:38 +0700
committerhathach <[email protected]>2024-11-26 10:20:38 +0700
commitbe25aa31f6720e0efe96e8656f46adf0ccbbce50 (patch)
tree4facacecc11a41afa07f1336657a3ddb07ad858c /src/host/hcd.h
parent62f0e87bf16c750622999f3952506e3a364e4075 (diff)
hcd dwc2 add dcache support, usbh correctly use cache line size with TUH_EPBUF_DEF
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 6518e6fd2..56b6fdb5d 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -103,15 +103,15 @@ typedef struct {
// clean/flush data cache: write cache -> memory.
// Required before an DMA TX transfer to make sure data is in memory
-bool hcd_dcache_clean(void const* addr, uint32_t data_size) TU_ATTR_WEAK;
+bool hcd_dcache_clean(void const* addr, uint32_t data_size);
// invalidate data cache: mark cache as invalid, next read will read from memory
// Required BOTH before and after an DMA RX transfer
-bool hcd_dcache_invalidate(void const* addr, uint32_t data_size) TU_ATTR_WEAK;
+bool hcd_dcache_invalidate(void const* addr, uint32_t data_size);
// clean and invalidate data cache
// Required before an DMA transfer where memory is both read/write by DMA
-bool hcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) TU_ATTR_WEAK;
+bool hcd_dcache_clean_invalidate(void const* addr, uint32_t data_size);
//--------------------------------------------------------------------+
// Controller API