1
0

usb_dcache.h 404 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2024, sakumisu
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef USB_DCACHE_H
  7. #define USB_DCACHE_H
  8. #ifdef CONFIG_USB_DCACHE_ENABLE
  9. #if CONFIG_USB_ALIGN_SIZE % 32
  10. #error "CONFIG_USB_ALIGN_SIZE must be multiple of 32"
  11. #endif
  12. #else
  13. #define usb_dcache_clean(addr, size)
  14. #define usb_dcache_invalidate(addr, size)
  15. #define usb_dcache_flush(addr, size)
  16. #endif
  17. #endif /* USB_DCACHE_H */