/* Note that anything more complicated than checking if no bits are toggling (including checking DQ5 for an error status) is tricky to get working correctly and is therefore not done (particulary with interleaved chips as each chip must be checked independantly of the others).  */
static int __xipram chip_ready(struct map_info *map, unsigned long addr)
/* Note that anything more complicated than checking if no bits are toggling (including checking DQ5 for an error status) is tricky to get working correctly and is therefore not done (particulary with interleaved chips as each chip must be checked independantly of the others).  */
static int __xipram chip_ready(struct map_info *map, unsigned long addr)
{
	map_word d, t;
	d = map_read(map, addr);
	t = map_read(map, addr);
	return map_word_equal(map, d, t);
}