Lines Matching refs:info
48 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
57 info->flash_id = 0x01000000; in board_flash_get_legacy()
58 info->portwidth = 1; in board_flash_get_legacy()
59 info->chipwidth = 1; in board_flash_get_legacy()
60 info->buffer_size = 1; in board_flash_get_legacy()
61 info->erase_blk_tout = 16384; in board_flash_get_legacy()
62 info->write_tout = 2; in board_flash_get_legacy()
63 info->buffer_write_tout = 5; in board_flash_get_legacy()
64 info->vendor = 0xFFF0; /* CFI_CMDSET_AMD_LEGACY */ in board_flash_get_legacy()
65 info->cmd_reset = 0x00F0; in board_flash_get_legacy()
66 info->interface = FLASH_CFI_X8; in board_flash_get_legacy()
67 info->legacy_unlock = 0; in board_flash_get_legacy()
68 info->manufacturer_id = (u16) ATM_MANUFACT; in board_flash_get_legacy()
69 info->device_id = ATM_ID_LV040; in board_flash_get_legacy()
70 info->device_id2 = 0; in board_flash_get_legacy()
71 info->ext_addr = 0; in board_flash_get_legacy()
72 info->cfi_version = 0x3133; in board_flash_get_legacy()
73 info->cfi_offset = 0x0000; in board_flash_get_legacy()
74 info->addr_unlock1 = 0x00000555; in board_flash_get_legacy()
75 info->addr_unlock2 = 0x000002AA; in board_flash_get_legacy()
76 info->name = "CFI conformant"; in board_flash_get_legacy()
77 info->size = 0; in board_flash_get_legacy()
78 info->sector_count = CONFIG_SYS_ATMEL_TOTALSECT; in board_flash_get_legacy()
79 info->start[0] = base; in board_flash_get_legacy()
82 info->size += sect[i] * sectsz[i]; in board_flash_get_legacy()
84 info->start[k + 1] = info->start[k] + sectsz[i]; in board_flash_get_legacy()
85 info->protect[k] = 0; in board_flash_get_legacy()