nds32: support hardware prefetcher
authorNylon Chen <nylon7@andestech.com>
Thu, 8 Nov 2018 11:28:15 +0000 (19:28 +0800)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Nov 2018 10:13:51 +0000 (18:13 +0800)
commite2f3f8b4a497d26bdcd55a53246ec2e613ae0fd4
treec6cbc184ba802977d2f2bfa44e238e697b4455ac
parenta5234068e6dc18ae5300d678fbf3e129d9b93f78
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>
arch/nds32/Kconfig.cpu
arch/nds32/include/asm/bitfield.h
arch/nds32/kernel/head.S
arch/nds32/kernel/setup.c