This functionality should be covered by:
"mtd: cfi_flash: Write buffer size adjustment for M29EW Numonyx devices"
(sha1:
6f13889eb03fd3ce7b643aa6134856b3a2bf8d88)
That's why remove this macro and hack.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Expect a table of register-value pairs, e.g. "0x12345678 0x4321"
# Temporary Kconfig options which needs to be fixed
-config ZYNQ_M29EW_WB_HACK
- bool
-
config SYS_I2C_MUX_ADDR
int
}
info->sector_count = sect_cnt;
- /* FIXME */
-#ifdef CONFIG_ZYNQ_M29EW_WB_HACK
- qry.max_buf_write_size = 0x8;
-#endif
info->buffer_size = 1 << le16_to_cpu(qry.max_buf_write_size);
tmp = 1 << qry.block_erase_timeout_typ;
info->erase_blk_tout = tmp *
# define CONFIG_FLASH_CFI_DRIVER
# undef CONFIG_SYS_FLASH_PROTECTION
# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
-# define CONFIG_ZYNQ_M29EW_WB_HACK
#endif
/* MMC */