Commit a28672ec authored by David Brownell's avatar David Brownell Committed by Russell King

[ARM PATCH] 2060/1: make /proc/cpuinfo report missing EDSP and Java support

Patch from David Brownell

This makes /proc/cpuinfo more accurate on many ARM processors, so that
for example ARMv5TEJ processors always show they have Thumb (T),
EDSP (E), and Java (J) capability.
parent 293df1f5
...@@ -756,6 +756,7 @@ static const char *hwcap_str[] = { ...@@ -756,6 +756,7 @@ static const char *hwcap_str[] = {
"fpa", "fpa",
"vfp", "vfp",
"edsp", "edsp",
"java",
NULL NULL
}; };
......
...@@ -495,7 +495,7 @@ __arm1020e_proc_info: ...@@ -495,7 +495,7 @@ __arm1020e_proc_info:
b __arm1020e_setup b __arm1020e_setup
.long cpu_arch_name .long cpu_arch_name
.long cpu_elf_name .long cpu_elf_name
.long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB .long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB | HWCAP_EDSP
.long cpu_arm1020e_name .long cpu_arm1020e_name
.long arm1020e_processor_functions .long arm1020e_processor_functions
.long v4wbi_tlb_fns .long v4wbi_tlb_fns
......
...@@ -475,7 +475,7 @@ __arm1022_proc_info: ...@@ -475,7 +475,7 @@ __arm1022_proc_info:
b __arm1022_setup b __arm1022_setup
.long cpu_arch_name .long cpu_arch_name
.long cpu_elf_name .long cpu_elf_name
.long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB .long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB | HWCAP_EDSP
.long cpu_arm1022_name .long cpu_arm1022_name
.long arm1022_processor_functions .long arm1022_processor_functions
.long v4wbi_tlb_fns .long v4wbi_tlb_fns
......
...@@ -471,7 +471,7 @@ __arm1026_proc_info: ...@@ -471,7 +471,7 @@ __arm1026_proc_info:
b __arm1026_setup b __arm1026_setup
.long cpu_arch_name .long cpu_arch_name
.long cpu_elf_name .long cpu_elf_name
.long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP|HWCAP_JAVA
.long cpu_arm1026_name .long cpu_arm1026_name
.long arm1026_processor_functions .long arm1026_processor_functions
.long v4wbi_tlb_fns .long v4wbi_tlb_fns
......
...@@ -473,7 +473,7 @@ __arm926_proc_info: ...@@ -473,7 +473,7 @@ __arm926_proc_info:
b __arm926_setup b __arm926_setup
.long cpu_arch_name .long cpu_arch_name
.long cpu_elf_name .long cpu_elf_name
.long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | HWCAP_JAVA .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP|HWCAP_JAVA
.long cpu_arm926_name .long cpu_arm926_name
.long arm926_processor_functions .long arm926_processor_functions
.long v4wbi_tlb_fns .long v4wbi_tlb_fns
......
...@@ -258,7 +258,7 @@ __v6_proc_info: ...@@ -258,7 +258,7 @@ __v6_proc_info:
b __v6_setup b __v6_setup
.long cpu_arch_name .long cpu_arch_name
.long cpu_elf_name .long cpu_elf_name
.long HWCAP_SWP | HWCAP_HALF | HWCAP_FAST_MULT | HWCAP_VFP .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_VFP|HWCAP_EDSP|HWCAP_JAVA
.long cpu_v6_name .long cpu_v6_name
.long v6_processor_functions .long v6_processor_functions
.long v6wbi_tlb_fns .long v6wbi_tlb_fns
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment