diff options
author | TsiChungLiew <Tsi-Chung.Liew@freescale.com> | 2007-08-05 03:43:30 -0500 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-08-08 09:47:16 +0200 |
commit | 6fde84a44b7e575ea80fe0e2d5be3b6f73d1e630 (patch) | |
tree | e4b671898cc84354be8fad3800c380efe3baa7b6 /include/asm-m68k/io.h | |
parent | 9e737d8476e7d6a596d16caaf6a3853a9a1190a2 (diff) | |
download | u-boot-imx-6fde84a44b7e575ea80fe0e2d5be3b6f73d1e630.zip u-boot-imx-6fde84a44b7e575ea80fe0e2d5be3b6f73d1e630.tar.gz u-boot-imx-6fde84a44b7e575ea80fe0e2d5be3b6f73d1e630.tar.bz2 |
Moved sync() from board file to include/asm-m68k/io.h
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'include/asm-m68k/io.h')
-rw-r--r-- | include/asm-m68k/io.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-m68k/io.h b/include/asm-m68k/io.h index 8dea02a..114efb1 100644 --- a/include/asm-m68k/io.h +++ b/include/asm-m68k/io.h @@ -211,4 +211,11 @@ extern inline void out_be32(volatile unsigned *addr, int val) *addr = val; } +static inline void sync(void) +{ + /* This sync function is for PowerPC or other architecture instruction + * ColdFire does not have this instruction. Dummy function, added for + * compatibility (CFI driver) + */ +} #endif /* __ASM_M68K_IO_H__ */ |