diff options
Diffstat (limited to 'arch/arm/mm/cache-v4.S')
-rw-r--r-- | arch/arm/mm/cache-v4.S | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/arch/arm/mm/cache-v4.S b/arch/arm/mm/cache-v4.S index df3b423713b9..4810f7e3e813 100644 --- a/arch/arm/mm/cache-v4.S +++ b/arch/arm/mm/cache-v4.S | |||
@@ -94,20 +94,6 @@ ENTRY(v4_flush_kern_dcache_area) | |||
94 | /* FALLTHROUGH */ | 94 | /* FALLTHROUGH */ |
95 | 95 | ||
96 | /* | 96 | /* |
97 | * dma_inv_range(start, end) | ||
98 | * | ||
99 | * Invalidate (discard) the specified virtual address range. | ||
100 | * May not write back any entries. If 'start' or 'end' | ||
101 | * are not cache line aligned, those lines must be written | ||
102 | * back. | ||
103 | * | ||
104 | * - start - virtual start address | ||
105 | * - end - virtual end address | ||
106 | */ | ||
107 | ENTRY(v4_dma_inv_range) | ||
108 | /* FALLTHROUGH */ | ||
109 | |||
110 | /* | ||
111 | * dma_flush_range(start, end) | 97 | * dma_flush_range(start, end) |
112 | * | 98 | * |
113 | * Clean and invalidate the specified virtual address range. | 99 | * Clean and invalidate the specified virtual address range. |
@@ -120,17 +106,6 @@ ENTRY(v4_dma_flush_range) | |||
120 | mov r0, #0 | 106 | mov r0, #0 |
121 | mcr p15, 0, r0, c7, c7, 0 @ flush ID cache | 107 | mcr p15, 0, r0, c7, c7, 0 @ flush ID cache |
122 | #endif | 108 | #endif |
123 | /* FALLTHROUGH */ | ||
124 | |||
125 | /* | ||
126 | * dma_clean_range(start, end) | ||
127 | * | ||
128 | * Clean (write back) the specified virtual address range. | ||
129 | * | ||
130 | * - start - virtual start address | ||
131 | * - end - virtual end address | ||
132 | */ | ||
133 | ENTRY(v4_dma_clean_range) | ||
134 | mov pc, lr | 109 | mov pc, lr |
135 | 110 | ||
136 | /* | 111 | /* |
@@ -141,7 +116,7 @@ ENTRY(v4_dma_clean_range) | |||
141 | */ | 116 | */ |
142 | ENTRY(v4_dma_unmap_area) | 117 | ENTRY(v4_dma_unmap_area) |
143 | teq r2, #DMA_TO_DEVICE | 118 | teq r2, #DMA_TO_DEVICE |
144 | bne v4_dma_inv_range | 119 | bne v4_dma_flush_range |
145 | /* FALLTHROUGH */ | 120 | /* FALLTHROUGH */ |
146 | 121 | ||
147 | /* | 122 | /* |
@@ -167,7 +142,5 @@ ENTRY(v4_cache_fns) | |||
167 | .long v4_flush_kern_dcache_area | 142 | .long v4_flush_kern_dcache_area |
168 | .long v4_dma_map_area | 143 | .long v4_dma_map_area |
169 | .long v4_dma_unmap_area | 144 | .long v4_dma_unmap_area |
170 | .long v4_dma_inv_range | ||
171 | .long v4_dma_clean_range | ||
172 | .long v4_dma_flush_range | 145 | .long v4_dma_flush_range |
173 | .size v4_cache_fns, . - v4_cache_fns | 146 | .size v4_cache_fns, . - v4_cache_fns |