diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-15 19:16:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-15 19:16:31 -0400 |
commit | 902233ee494f9d9da6dbb818316fcbf892bebbed (patch) | |
tree | b3fcfbd1c757851a562ef0921cab4e1b3e2d9f19 /arch/blackfin/mach-common/cache.S | |
parent | e871e3c268a26c35ad805196a01d84a55bb755c6 (diff) | |
parent | c5760abde715dcd9ead66769e45d1896332e9d9c (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (30 commits)
Blackfin SMC91X ethernet supporting driver: SMC91C111 LEDs are note drived in the kernel like in uboot
Blackfin SPI driver: fix bug SPI DMA incomplete transmission
Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes
Blackfin RTC drivers: update MAINTAINERS information
Blackfin serial driver: decouple PARODD and CMSPAR checking from PARENB
Blackfin serial driver: actually implement the break_ctl() function
Blackfin serial driver: ignore framing and parity errors
Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR
Blackfin arch: move HI/LO macros into blackfin.h and punt the rest of macros.h as it includes VDSP macros we never use
Blackfin arch: redo our linker script a bit
Blackfin arch: make sure we initialize our L1 Data B section properly based on the linked kernel
Blackfin arch: fix bug can not wakeup from sleep via push buttons
Blackfin arch: add support for Alon Bar-Lev's dynamic kernel command-line
Blackfin arch: add missing gpio.h header to fix compiling in some pm configurations
Blackfin arch: As Mike pointed out range goes form m..MAX_BLACKFIN_GPIO -1
Blackfin arch: fix spelling typo in output
Blackfin arch: try to split up functions like this into smaller units according to LKML review
Blackfin arch: add proper ENDPROC()
Blackfin arch: move more of our startup code to .init so it can be freed once we are up and running
Blackfin arch: unify differences between our diff head.S files -- no functional changes
...
Diffstat (limited to 'arch/blackfin/mach-common/cache.S')
-rw-r--r-- | arch/blackfin/mach-common/cache.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/cache.S b/arch/blackfin/mach-common/cache.S index bb9446ef66ef..8bd2af1935bd 100644 --- a/arch/blackfin/mach-common/cache.S +++ b/arch/blackfin/mach-common/cache.S | |||
@@ -70,6 +70,7 @@ ENTRY(_cache_invalidate) | |||
70 | .Lno_dcache_b: | 70 | .Lno_dcache_b: |
71 | R7 = [SP++]; | 71 | R7 = [SP++]; |
72 | RTS; | 72 | RTS; |
73 | ENDPROC(_cache_invalidate) | ||
73 | 74 | ||
74 | /* Invalidate the Entire Instruction cache by | 75 | /* Invalidate the Entire Instruction cache by |
75 | * disabling IMC bit | 76 | * disabling IMC bit |
@@ -106,6 +107,8 @@ ENTRY(_invalidate_entire_icache) | |||
106 | 107 | ||
107 | ( R7:5) = [SP++]; | 108 | ( R7:5) = [SP++]; |
108 | RTS; | 109 | RTS; |
110 | ENDPROC(_invalidate_entire_icache) | ||
111 | ENDPROC(_icache_invalidate) | ||
109 | 112 | ||
110 | /* | 113 | /* |
111 | * blackfin_cache_flush_range(start, end) | 114 | * blackfin_cache_flush_range(start, end) |
@@ -129,6 +132,7 @@ ENTRY(_blackfin_icache_flush_range) | |||
129 | IFLUSH [P0]; | 132 | IFLUSH [P0]; |
130 | SSYNC; | 133 | SSYNC; |
131 | RTS; | 134 | RTS; |
135 | ENDPROC(_blackfin_icache_flush_range) | ||
132 | 136 | ||
133 | /* | 137 | /* |
134 | * blackfin_icache_dcache_flush_range(start, end) | 138 | * blackfin_icache_dcache_flush_range(start, end) |
@@ -155,6 +159,7 @@ ENTRY(_blackfin_icache_dcache_flush_range) | |||
155 | FLUSH [P0]; | 159 | FLUSH [P0]; |
156 | SSYNC; | 160 | SSYNC; |
157 | RTS; | 161 | RTS; |
162 | ENDPROC(_blackfin_icache_dcache_flush_range) | ||
158 | 163 | ||
159 | /* Throw away all D-cached data in specified region without any obligation to | 164 | /* Throw away all D-cached data in specified region without any obligation to |
160 | * write them back. However, we must clean the D-cached entries around the | 165 | * write them back. However, we must clean the D-cached entries around the |
@@ -183,6 +188,7 @@ ENTRY(_blackfin_dcache_invalidate_range) | |||
183 | FLUSHINV[P0]; | 188 | FLUSHINV[P0]; |
184 | SSYNC; | 189 | SSYNC; |
185 | RTS; | 190 | RTS; |
191 | ENDPROC(_blackfin_dcache_invalidate_range) | ||
186 | 192 | ||
187 | /* Invalidate the Entire Data cache by | 193 | /* Invalidate the Entire Data cache by |
188 | * clearing DMC[1:0] bits | 194 | * clearing DMC[1:0] bits |
@@ -221,6 +227,8 @@ ENTRY(_dcache_invalidate) | |||
221 | 227 | ||
222 | ( R7:6) = [SP++]; | 228 | ( R7:6) = [SP++]; |
223 | RTS; | 229 | RTS; |
230 | ENDPROC(_dcache_invalidate) | ||
231 | ENDPROC(_invalidate_entire_dcache) | ||
224 | 232 | ||
225 | ENTRY(_blackfin_dcache_flush_range) | 233 | ENTRY(_blackfin_dcache_flush_range) |
226 | R2 = -L1_CACHE_BYTES; | 234 | R2 = -L1_CACHE_BYTES; |
@@ -241,6 +249,7 @@ ENTRY(_blackfin_dcache_flush_range) | |||
241 | FLUSH[P0]; | 249 | FLUSH[P0]; |
242 | SSYNC; | 250 | SSYNC; |
243 | RTS; | 251 | RTS; |
252 | ENDPROC(_blackfin_dcache_flush_range) | ||
244 | 253 | ||
245 | ENTRY(_blackfin_dflush_page) | 254 | ENTRY(_blackfin_dflush_page) |
246 | P1 = 1 << (PAGE_SHIFT - L1_CACHE_SHIFT); | 255 | P1 = 1 << (PAGE_SHIFT - L1_CACHE_SHIFT); |
@@ -251,3 +260,4 @@ ENTRY(_blackfin_dflush_page) | |||
251 | .Lfl1: FLUSH [P0++]; | 260 | .Lfl1: FLUSH [P0++]; |
252 | SSYNC; | 261 | SSYNC; |
253 | RTS; | 262 | RTS; |
263 | ENDPROC(_blackfin_dflush_page) | ||