summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Bodek <zbb@semihalf.com>2017-02-08 20:38:16 +0100
committerLuiz Souza <luiz@netgate.com>2017-09-18 11:19:24 -0500
commit41a9a4359e00fb23586c67f6d70e782ccfbbb053 (patch)
tree22a81906eb18e40c77d03e782732b5074befdac1
parentd44ac04bf31da19feb9008ed1d019d7dec3e5201 (diff)
downloadFreeBSD-src-41a9a4359e00fb23586c67f6d70e782ccfbbb053.zip
FreeBSD-src-41a9a4359e00fb23586c67f6d70e782ccfbbb053.tar.gz
Add L2 prefetch to ARMADA38X. Disable by default
Keep in mind that this can be used only when pl310 device is included. Disable this option by default to align with Marvell Linux. (cherry picked from commit 6442e10a95086180eb6ef45683c20cdb6665e70d)
-rw-r--r--sys/arm/conf/ARMADA38X3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/conf/ARMADA38X b/sys/arm/conf/ARMADA38X
index 7395e40..6080f86 100644
--- a/sys/arm/conf/ARMADA38X
+++ b/sys/arm/conf/ARMADA38X
@@ -121,7 +121,8 @@ device crypto
device cryptodev
# L2 Cache
-device pl310
+device pl310 # PL310 L2 cache controller
+#options ARM_L2_PREFETCH # Disabled by default on Marvell Linux
# FDT
options FDT
OpenPOWER on IntegriCloud