feat(common): add usb_phyaddr2ramaddr & usb_ramaddr2phyaddr macro

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-01-22 17:46:10 +08:00
parent 1aa2d038aa
commit c399be3ea2
3 changed files with 17 additions and 1 deletions

View File

@@ -292,4 +292,12 @@
// #define usb_dcache_flush(addr, size)
#endif
#ifndef usb_phyaddr2ramaddr
#define usb_phyaddr2ramaddr(addr) (addr)
#endif
#ifndef usb_ramaddr2phyaddr
#define usb_ramaddr2phyaddr(addr) (addr)
#endif
#endif