~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/arm/mm/proc-mohawk.S

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        mov     pc, lr
94
94
 
95
95
/*
 
96
 *      flush_icache_all()
 
97
 *
 
98
 *      Unconditionally clean and invalidate the entire icache.
 
99
 */
 
100
ENTRY(mohawk_flush_icache_all)
 
101
        mov     r0, #0
 
102
        mcr     p15, 0, r0, c7, c5, 0           @ invalidate I cache
 
103
        mov     pc, lr
 
104
ENDPROC(mohawk_flush_icache_all)
 
105
 
 
106
/*
96
107
 *      flush_user_cache_all()
97
108
 *
98
109
 *      Clean and invalidate all cache entries in a particular
288
299
        mov     pc, lr
289
300
ENDPROC(mohawk_dma_unmap_area)
290
301
 
291
 
ENTRY(mohawk_cache_fns)
292
 
        .long   mohawk_flush_kern_cache_all
293
 
        .long   mohawk_flush_user_cache_all
294
 
        .long   mohawk_flush_user_cache_range
295
 
        .long   mohawk_coherent_kern_range
296
 
        .long   mohawk_coherent_user_range
297
 
        .long   mohawk_flush_kern_dcache_area
298
 
        .long   mohawk_dma_map_area
299
 
        .long   mohawk_dma_unmap_area
300
 
        .long   mohawk_dma_flush_range
 
302
        @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
 
303
        define_cache_functions mohawk
301
304
 
302
305
ENTRY(cpu_mohawk_dcache_clean_area)
303
306
1:      mcr     p15, 0, r0, c7, c10, 1          @ clean D entry
373
376
 
374
377
        __INITDATA
375
378
 
376
 
/*
377
 
 * Purpose : Function pointers used to access above functions - all calls
378
 
 *           come through these
379
 
 */
380
 
        .type   mohawk_processor_functions, #object
381
 
mohawk_processor_functions:
382
 
        .word   v5t_early_abort
383
 
        .word   legacy_pabort
384
 
        .word   cpu_mohawk_proc_init
385
 
        .word   cpu_mohawk_proc_fin
386
 
        .word   cpu_mohawk_reset
387
 
        .word   cpu_mohawk_do_idle
388
 
        .word   cpu_mohawk_dcache_clean_area
389
 
        .word   cpu_mohawk_switch_mm
390
 
        .word   cpu_mohawk_set_pte_ext
391
 
        .word   0
392
 
        .word   0
393
 
        .word   0
394
 
        .size   mohawk_processor_functions, . - mohawk_processor_functions
 
379
        @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
 
380
        define_processor_functions mohawk, dabort=v5t_early_abort, pabort=legacy_pabort
395
381
 
396
382
        .section ".rodata"
397
383
 
398
 
        .type   cpu_arch_name, #object
399
 
cpu_arch_name:
400
 
        .asciz  "armv5te"
401
 
        .size   cpu_arch_name, . - cpu_arch_name
402
 
 
403
 
        .type   cpu_elf_name, #object
404
 
cpu_elf_name:
405
 
        .asciz  "v5"
406
 
        .size   cpu_elf_name, . - cpu_elf_name
407
 
 
408
 
        .type   cpu_mohawk_name, #object
409
 
cpu_mohawk_name:
410
 
        .asciz  "Marvell 88SV331x"
411
 
        .size   cpu_mohawk_name, . - cpu_mohawk_name
 
384
        string  cpu_arch_name, "armv5te"
 
385
        string  cpu_elf_name, "v5"
 
386
        string  cpu_mohawk_name, "Marvell 88SV331x"
412
387
 
413
388
        .align
414
389