diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-01-22 19:23:50 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-01-22 19:23:50 +0800 |
commit | 96a5c6f9bef027e1187b2f168bb3e08ef21d0b6f (patch) | |
tree | 5bb5024d40d9059f748b485845a9beac6d416470 /arch/blackfin | |
parent | 03c5732855300f05aac718ca770c2bb05e1fd48b (diff) | |
download | talos-op-linux-96a5c6f9bef027e1187b2f168bb3e08ef21d0b6f.tar.gz talos-op-linux-96a5c6f9bef027e1187b2f168bb3e08ef21d0b6f.zip |
[Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to boot up
writes to I/DMEM_CONTROL must be followed by SSYNC
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/cplb-nompu/cacheinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cacheinit.c b/arch/blackfin/kernel/cplb-nompu/cacheinit.c index 62cbba7364b0..8a18399f6072 100644 --- a/arch/blackfin/kernel/cplb-nompu/cacheinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cacheinit.c @@ -42,6 +42,7 @@ void bfin_icache_init(void) ctrl = bfin_read_IMEM_CONTROL(); ctrl |= IMC | ENICPLB; bfin_write_IMEM_CONTROL(ctrl); + SSYNC(); } #endif @@ -63,5 +64,6 @@ void bfin_dcache_init(void) ctrl = bfin_read_DMEM_CONTROL(); ctrl |= DMEM_CNTR; bfin_write_DMEM_CONTROL(ctrl); + SSYNC(); } #endif |