diff options
author | Aubrey Li <aubrey.adi@gmail.com> | 2007-03-12 00:25:14 +0800 |
---|---|---|
committer | Aubrey Li <aubrey.adi@gmail.com> | 2007-03-12 00:25:14 +0800 |
commit | 8440bb14581a294375c34b91b42512f9753d1130 (patch) | |
tree | 2af94c8cdb0bedf0501affd4db35d6c6faee317c /lib_blackfin/bf533_string.c | |
parent | 8db13d63157811c839d15a313d9f2d2f5fd10af3 (diff) |
[Blackfin][PATCH] code cleanup
Diffstat (limited to 'lib_blackfin/bf533_string.c')
-rw-r--r-- | lib_blackfin/bf533_string.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_blackfin/bf533_string.c b/lib_blackfin/bf533_string.c index 1d0aeb6f7f5..85b115076af 100644 --- a/lib_blackfin/bf533_string.c +++ b/lib_blackfin/bf533_string.c @@ -30,6 +30,7 @@ #include <asm/page.h> #include <config.h> #include <asm/blackfin.h> +#include <asm/io.h> extern void blackfin_icache_flush_range(const void *, const void *); extern void blackfin_dcache_flush_range(const void *, const void *); @@ -175,7 +176,7 @@ void *dma_memcpy(void *dest, const void *src, size_t count) /* Enable source DMA */ *pMDMA_S0_CONFIG = (DMAEN); - __builtin_bfin_ssync(); + sync(); *pMDMA_D0_CONFIG = (WNR | DMAEN); |