]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dc2114x: add support for CPUs that have cache between the memory and the card
authorHanyuan Zhao <hanyuan-z@qq.com>
Fri, 9 Aug 2024 08:56:57 +0000 (16:56 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 16:15:29 +0000 (10:15 -0600)
commit23edc8f6a6a1f08c1c0e84bd232dedad057d2c6d
tree05cbcec3eeb3bc2eb9dc47a7f646cdf0b38ff7cd
parent26d88de9e5be0ceffe8ac035c5089226ce8e0cb2
net: dc2114x: add support for CPUs that have cache between the memory and the card

This commit adds support for the MIPS and LoongArch CPUs, which would use cache
after they jump into U-Boot. This commit requests the CPU to return the
addresses in uncached windows and flushes the cache in need, to make sure the
memory between the CPU and the network card is in consistency.

Signed-off-by: Hanyuan Zhao <zhaohy22@mails.tsinghua.edu.cn>
drivers/net/dc2114x.c