/* Indexed Addressing - address translation module intervenes in passing the control information. This mode reduces the required address range. The control information and transferred data are latched by the registers in the translation module.  */
static u32 denali_indexed_read(struct denali_nand_info *denali, u32 addr)
/* Indexed Addressing - address translation module intervenes in passing the control information. This mode reduces the required address range. The control information and transferred data are latched by the registers in the translation module.  */
static u32 denali_indexed_read(struct denali_nand_info *denali, u32 addr)
{
	iowrite32(addr, denali->host + DENALI_INDEXED_CTRL);
	return ioread32(denali->host + DENALI_INDEXED_DATA);
}