summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/cpu/cpuinfo-static.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-08-13 12:47:42 +0200
committerMichal Simek <monstr@monstr.eu>2010-10-21 15:51:57 +1000
commit8e2ad016b20f98790d5995aae1d157d1613ab9e6 (patch)
treee1eb651eff6d7f45c0a3e8316a26112611ad5f4d /arch/microblaze/kernel/cpu/cpuinfo-static.c
parent44180a573ec936cd989a7c0478f5fd1cf8e1ebc3 (diff)
microblaze: Add PVR for endians plus detection
Upcomming microblaze version will support little-endian. Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/microblaze/kernel/cpu/cpuinfo-static.c')
-rw-r--r--arch/microblaze/kernel/cpu/cpuinfo-static.c1
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 6095aa6b5c8..b16b994ca3d 100644
--- a/arch/microblaze/kernel/cpu/cpuinfo-static.c
+++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c
@@ -119,6 +119,7 @@ void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu)
ci->pvr_user2 = fcpu(cpu, "xlnx,pvr-user2");
ci->mmu = fcpu(cpu, "xlnx,use-mmu");
+ ci->endian = fcpu(cpu, "xlnx,endianness");
ci->ver_code = 0;
ci->fpga_family_code = 0;