diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2019-04-23 16:55:04 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-05 08:48:50 -0400 |
commit | 88ebf5830fe25cfdfbbee726cb36ea71b111173a (patch) | |
tree | 1f399a43fea0d78a9861d68523c516438a7bbde3 /drivers/cache/Kconfig | |
parent | 84b124db3584d8b3f1a42c1506983323bce9983f (diff) |
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>
Diffstat (limited to 'drivers/cache/Kconfig')
-rw-r--r-- | drivers/cache/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig index 8b7c9c7f9f8..24def7ac0fe 100644 --- a/drivers/cache/Kconfig +++ b/drivers/cache/Kconfig @@ -13,4 +13,13 @@ config CACHE is usually located on the same chip. This uclass can be used for configuring settings that be found from a device tree file. +config L2X0_CACHE + tristate "PL310 cache driver" + select CACHE + depends on ARM + help + This driver is for the PL310 cache controller commonly found on + ARMv7(32-bit) devices. The driver configures the cache settings + found in the device tree. + endmenu |