diff options
| author | hathach <[email protected]> | 2021-11-03 12:24:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-11-03 12:24:10 +0700 |
| commit | e16506cb52d6d8e8b2a2e2910f10c32a89a6d322 (patch) | |
| tree | 3368e3c4fac6d8344ba8f85793d9147c31571a6f /src | |
| parent | 28b177484d15971dc12ec76dfe71ffcae433835a (diff) | |
clean up
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/synopsys/dwc2/dwc2_bcm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_bcm.h b/src/portable/synopsys/dwc2/dwc2_bcm.h index 38d10930c..317e79cf7 100644 --- a/src/portable/synopsys/dwc2/dwc2_bcm.h +++ b/src/portable/synopsys/dwc2/dwc2_bcm.h @@ -32,11 +32,16 @@ #endif #include "broadcom/interrupts.h" +//#include "broadcom/caches.h" #define DWC2_REG_BASE 0xFE980000UL #define DWC2_EP_MAX 8 #define DWC2_EP_FIFO_SIZE 4096 +//#define dcache_clean(_addr, _size) data_clean(_addr, _size) +//#define dcache_invalidate(_addr, _size) data_invalidate(_addr, _size) +//#define dcache_clean_invalidate(_addr, _size) data_clean_and_invalidate(_addr, _size) + TU_ATTR_ALWAYS_INLINE static inline void dwc2_dcd_int_enable(uint8_t rhport) { |
