/* Chip Enable is also controlled by the Chip Select (CS5) and Address lines (A24-A22), so no action is required here.  */
static void rtc_from4_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
/* Chip Enable is also controlled by the Chip Select (CS5) and Address lines (A24-A22), so no action is required here.  */
static void rtc_from4_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
{
	struct nand_chip *chip = (mtd->priv);
	if (cmd == NAND_CMD_NONE)
		return;
	if (ctrl & NAND_CLE)
		writeb(cmd, chip->IO_ADDR_W | RTC_FROM4_CLE);
	else
		writeb(cmd, chip->IO_ADDR_W | RTC_FROM4_ALE);
}