backport mv643xx ethernet changes from the Marvell git repo
[openwrt.git] / target / linux / orion / patches / 007-annotate_88fr531-vd_cpu_entries.patch
1 Annotate the entries for the 88fr531-vd CPU core in
2 arch/arm/boot/compressed/head.S and arch/arm/mm/proc-feroceon.S
3 with the full name of the core.
4
5 Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
6 ---
7 arch/arm/boot/compressed/head.S | 2 +-
8 arch/arm/mm/proc-feroceon.S | 13 +++++++++----
9 2 files changed, 10 insertions(+), 5 deletions(-)
10
11 --- a/arch/arm/boot/compressed/head.S
12 +++ b/arch/arm/boot/compressed/head.S
13 @@ -623,7 +623,7 @@
14 b __armv4_mmu_cache_off
15 b __armv4_mmu_cache_flush
16
17 - .word 0x56055310 @ Feroceon
18 + .word 0x56055310 @ Feroceon 88FR531-vd
19 .word 0xfffffff0
20 b __armv4_mmu_cache_on
21 b __armv4_mmu_cache_off
22 --- a/arch/arm/mm/proc-feroceon.S
23 +++ b/arch/arm/mm/proc-feroceon.S
24 @@ -445,6 +445,11 @@
25 .asciz "Feroceon"
26 .size cpu_feroceon_name, . - cpu_feroceon_name
27
28 + .type cpu_88fr531_name, #object
29 +cpu_88fr531_name:
30 + .asciz "Feroceon 88FR531-vd"
31 + .size cpu_88fr531_name, . - cpu_88fr531_name
32 +
33 .align
34
35 .section ".proc.info.init", #alloc, #execinstr
36 @@ -476,8 +481,8 @@
37 .size __feroceon_old_id_proc_info, . - __feroceon_old_id_proc_info
38 #endif
39
40 - .type __feroceon_proc_info,#object
41 -__feroceon_proc_info:
42 + .type __88fr531_proc_info,#object
43 +__88fr531_proc_info:
44 .long 0x56055310
45 .long 0xfffffff0
46 .long PMD_TYPE_SECT | \
47 @@ -494,9 +499,9 @@
48 .long cpu_arch_name
49 .long cpu_elf_name
50 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
51 - .long cpu_feroceon_name
52 + .long cpu_88fr531_name
53 .long feroceon_processor_functions
54 .long v4wbi_tlb_fns
55 .long feroceon_user_fns
56 .long feroceon_cache_fns
57 - .size __feroceon_proc_info, . - __feroceon_proc_info
58 + .size __88fr531_proc_info, . - __88fr531_proc_info
This page took 0.044868 seconds and 5 git commands to generate.