~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
/*
54
54
 * This is the size at which it becomes more efficient to
55
55
 * clean the whole cache, rather than using the individual
56
 
 * cache line maintainence instructions.
 
56
 * cache line maintenance instructions.
57
57
 */
58
58
#define CACHE_DLIMIT    32768
59
59
 
251
251
 *
252
252
 * (same as v4wb)
253
253
 */
254
 
ENTRY(arm1026_dma_inv_range)
 
254
arm1026_dma_inv_range:
255
255
        mov     ip, #0
256
256
#ifndef CONFIG_CPU_DCACHE_DISABLE
257
257
        tst     r0, #CACHE_DLINESIZE - 1
277
277
 *
278
278
 * (same as v4wb)
279
279
 */
280
 
ENTRY(arm1026_dma_clean_range)
 
280
arm1026_dma_clean_range:
281
281
        mov     ip, #0
282
282
#ifndef CONFIG_CPU_DCACHE_DISABLE
283
283
        bic     r0, r0, #CACHE_DLINESIZE - 1
343
343
        .long   arm1026_flush_kern_dcache_area
344
344
        .long   arm1026_dma_map_area
345
345
        .long   arm1026_dma_unmap_area
346
 
        .long   arm1026_dma_inv_range
347
 
        .long   arm1026_dma_clean_range
348
346
        .long   arm1026_dma_flush_range
349
347
 
350
348
        .align  5