]> git.baikalelectronics.ru Git - uboot.git/commit
dm: cache: add the pl310 cache controller driver
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 23 Apr 2019 21:55:04 +0000 (16:55 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
commit61df694f1d7c43bc2fa2755f2ff81800e8a8b137
tree1f399a43fea0d78a9861d68523c516438a7bbde3
parent8e344ea4d7ba558c1fd81c54d80de9d169f63003
dm: cache: add the pl310 cache controller driver

Add a PL310 cache controller driver that is usually found on
ARMv7(32-bit) devices. The driver configures the cache settings that can
be found in the device tree files.

This initial revision only configures basic settings(data & instruction
prefetch, shared-override, data & tag latency). I believe these are the
settings that affect performance the most. Comprehensive settings can be
done by the OS.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
drivers/cache/Kconfig
drivers/cache/Makefile
drivers/cache/cache-l2x0.c [new file with mode: 0644]