/* Hardcoded flash setup: Flash 0 is a non-CFI SST 39VF020 flash, 8 bit flash / 8 bit bus. Flash 1 is an Intel *16 flash using the CFI driver.  */
ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
/* Hardcoded flash setup: Flash 0 is a non-CFI SST 39VF020 flash, 8 bit flash / 8 bit bus. Flash 1 is an Intel *16 flash using the CFI driver.  */
ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
{
	if (banknum == 0) {
		info->portwidth = 1;
		info->chipwidth = 1;
		info->interface = FLASH_CFI_X8;
		return 1;
	} else
		return 0;
}