Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77513
b: refs/heads/master
c: d910a0a
h: refs/heads/master
i:
  77511: 8347f89
v: v3
  • Loading branch information
Tzachi Perelstein authored and Russell King committed Jan 26, 2008
1 parent 248ec67 commit 583bc02
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ebb5a2b44b02bddd5fbf0f29d71f1df6146c2c3
refs/heads/master: d910a0aa21c9c6e824744d0139bbe6a9ae676e2d
9 changes: 9 additions & 0 deletions trunk/arch/arm/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,15 @@ config CPU_FEROCEON
select CPU_COPY_V4WB if MMU
select CPU_TLB_V4WBI if MMU

config CPU_FEROCEON_OLD_ID
bool "Accept early Feroceon cores with an ARM926 ID"
depends on CPU_FEROCEON && !CPU_ARM926T
default y
help
This enables the usage of some old Feroceon cores
for which the CPU ID is equal to the ARM926 ID.
Relevant for Feroceon-1850 and early Feroceon-2850.

# ARMv6
config CPU_V6
bool "Support ARM V6 processor"
Expand Down
27 changes: 27 additions & 0 deletions trunk/arch/arm/mm/proc-feroceon.S
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,33 @@ cpu_feroceon_name:

.section ".proc.info.init", #alloc, #execinstr

#ifdef CONFIG_CPU_FEROCEON_OLD_ID
.type __feroceon_old_id_proc_info,#object
__feroceon_old_id_proc_info:
.long 0x41069260
.long 0xfffffff0
.long PMD_TYPE_SECT | \
PMD_SECT_BUFFERABLE | \
PMD_SECT_CACHEABLE | \
PMD_BIT4 | \
PMD_SECT_AP_WRITE | \
PMD_SECT_AP_READ
.long PMD_TYPE_SECT | \
PMD_BIT4 | \
PMD_SECT_AP_WRITE | \
PMD_SECT_AP_READ
b __feroceon_setup
.long cpu_arch_name
.long cpu_elf_name
.long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
.long cpu_feroceon_name
.long feroceon_processor_functions
.long v4wbi_tlb_fns
.long v4wb_user_fns
.long feroceon_cache_fns
.size __feroceon_old_id_proc_info, . - __feroceon_old_id_proc_info
#endif

.type __feroceon_proc_info,#object
__feroceon_proc_info:
.long 0x56055310
Expand Down

0 comments on commit 583bc02

Please sign in to comment.