mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
Moved sync() from board file to include/asm-m68k/io.h
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
This commit is contained in:
parent
9e737d8476
commit
6fde84a44b
2 changed files with 7 additions and 7 deletions
|
@ -87,10 +87,3 @@ int testdram(void)
|
|||
return (0);
|
||||
}
|
||||
|
||||
#ifdef CFG_FLASH_CFI
|
||||
void sync(void)
|
||||
{
|
||||
/* This sync function is PowerPC intruction,
|
||||
coldfire does not have this instruction. Dummy function */
|
||||
}
|
||||
#endif /* CFG_FLASH_CFI */
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue