/* This board provides the Ready/Busy state in the status register of the FPGA. Bit zero indicates the RDY(1)/BSY(0) signal.  */
static int rtc_from4_nand_device_ready(struct mtd_info *mtd)
/* This board provides the Ready/Busy state in the status register of the FPGA. Bit zero indicates the RDY(1)/BSY(0) signal.  */
static int rtc_from4_nand_device_ready(struct mtd_info *mtd)
{
	unsigned short status;
	status = *((volatile unsigned short *)(rtc_from4_fio_base + RTC_FROM4_FPGA_SR));
	return (status & RTC_FROM4_DEVICE_READY);
}