summaryrefslogtreecommitdiffstats
path: root/arch/nds32/Kconfig.cpu
diff options
context:
space:
mode:
authorNylon Chen <nylon7@andestech.com>2018-11-08 19:28:15 +0800
committerGreentime Hu <greentime@andestech.com>2018-11-22 18:13:51 +0800
commite2f3f8b4a497d26bdcd55a53246ec2e613ae0fd4 (patch)
treec6cbc184ba802977d2f2bfa44e238e697b4455ac /arch/nds32/Kconfig.cpu
parenta5234068e6dc18ae5300d678fbf3e129d9b93f78 (diff)
downloadlinux-stable-e2f3f8b4a497d26bdcd55a53246ec2e613ae0fd4.tar.gz
linux-stable-e2f3f8b4a497d26bdcd55a53246ec2e613ae0fd4.tar.bz2
linux-stable-e2f3f8b4a497d26bdcd55a53246ec2e613ae0fd4.zip
nds32: support hardware prefetcher
We add a config for user to enable or disable this feature. It can be used to control the hardware prefetch function. Signed-off-by: Nylon Chen <nylon7@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/Kconfig.cpu')
-rw-r--r--arch/nds32/Kconfig.cpu7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig.cpu b/arch/nds32/Kconfig.cpu
index 6482ed877f97..f16edf0582b4 100644
--- a/arch/nds32/Kconfig.cpu
+++ b/arch/nds32/Kconfig.cpu
@@ -177,6 +177,13 @@ config CACHE_L2
Say Y here to enable L2 cache if your SoC are integrated with L2CC.
If unsure, say N.
+config HW_PRE
+ bool "Enable hardware prefetcher"
+ default y
+ help
+ Say Y here to enable hardware prefetcher feature.
+ Only when CPU_VER.REV >= 0x09 can support.
+
menu "Memory configuration"
choice