Skip to content
Commit 21ae5576 authored by Mark Wang's avatar Mark Wang Committed by Benjamin Cabé
Browse files

usb: udc: fix noncache usb transfer buffer



CONFIG_UDC_BUF_FORCE_NOCACHE depend on NOCACHE_MEMORY && DCACHE in Kconfig,
so it can only be true when the platform supports cache.
The controller driver can imply the value of CONFIG_UDC_BUF_FORCE_NOCACHE,
like UDC_NXP_EHCI. If CONFIG_UDC_BUF_FORCE_NOCACHE is true, then all the
usb transfer buffer should be in noncache section.

Signed-off-by: default avatarMark Wang <yichang.wang@nxp.com>
parent aaa9a877
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment