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)
commit88ebf5830fe25cfdfbbee726cb36ea71b111173a
tree1f399a43fea0d78a9861d68523c516438a7bbde3
parent84b124db3584d8b3f1a42c1506983323bce9983f
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]