diff options
author | Michal Simek <monstr@monstr.eu> | 2009-10-14 11:12:50 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-14 08:44:58 +0100 |
commit | e051af576a414b6fcfe6589e99b2357522718050 (patch) | |
tree | abf2fcf3152485cb95ba7dedbcec6cc5f9187b31 /arch/microblaze/kernel/cpu/cpuinfo-static.c | |
parent | 44e4e196a9b3a703ebe273ffe3fb6cda326fe5d3 (diff) | |
download | kernel_samsung_aries-e051af576a414b6fcfe6589e99b2357522718050.zip kernel_samsung_aries-e051af576a414b6fcfe6589e99b2357522718050.tar.gz kernel_samsung_aries-e051af576a414b6fcfe6589e99b2357522718050.tar.bz2 |
microblaze: Extend cpuinfo for support write-back caches
There is missing checking agains PVR but this is not important
for now. There are some missing checking too.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/cpu/cpuinfo-static.c')
-rw-r--r-- | arch/microblaze/kernel/cpu/cpuinfo-static.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/cpu/cpuinfo-static.c b/arch/microblaze/kernel/cpu/cpuinfo-static.c index 6558429..6095aa6 100644 --- a/arch/microblaze/kernel/cpu/cpuinfo-static.c +++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c @@ -96,6 +96,7 @@ void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) ci->dcache_size = fcpu(cpu, "d-cache-size"); ci->dcache_base = fcpu(cpu, "d-cache-baseaddr"); ci->dcache_high = fcpu(cpu, "d-cache-highaddr"); + ci->dcache_wb = fcpu(cpu, "xlnx,dcache-use-writeback"); ci->use_dopb = fcpu(cpu, "xlnx,d-opb"); ci->use_iopb = fcpu(cpu, "xlnx,i-opb"); |