summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/io.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-02-27 21:56:06 +0100
committerStefan Roese <sr@denx.de>2007-02-27 21:56:06 +0100
commit621a7873ef205c4325fc07c646bd1d509763b22f (patch)
tree3e2006c9f3a953532bb6a97d896390f03e58bd03 /include/asm-blackfin/io.h
parent2e46b8fc8c16728ec3a5db2701026bbd1334ecdc (diff)
parent743571145b37182757d4e688a77860b36ee77573 (diff)
downloadu-boot-imx-621a7873ef205c4325fc07c646bd1d509763b22f.zip
u-boot-imx-621a7873ef205c4325fc07c646bd1d509763b22f.tar.gz
u-boot-imx-621a7873ef205c4325fc07c646bd1d509763b22f.tar.bz2
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'include/asm-blackfin/io.h')
-rw-r--r--include/asm-blackfin/io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
index e5b388e..fc27194 100644
--- a/include/asm-blackfin/io.h
+++ b/include/asm-blackfin/io.h
@@ -25,6 +25,11 @@
#ifndef _BLACKFIN_IO_H
#define _BLACKFIN_IO_H
+static inline void sync(void)
+{
+ __asm__ __volatile__ asm("ssync" : : : "memory");
+}
+
#ifdef __KERNEL__
#include <linux/config.h>