mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-16 23:18:51 +09:00
![Dinh Nguyen](/assets/img/avatar_default.png)
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>
26 lines
662 B
Plaintext
26 lines
662 B
Plaintext
#
|
|
# Cache controllers
|
|
#
|
|
|
|
menu "Cache Controller drivers"
|
|
|
|
config CACHE
|
|
bool "Enable Driver Model for Cache controllers"
|
|
depends on DM
|
|
help
|
|
Enable driver model for cache controllers that are found on
|
|
most CPU's. Cache is memory that the CPU can access directly and
|
|
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
|