Lines Matching refs:flash_info
15 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; variable
66 flash_info[i].flash_id = in flash_init()
69 flash_info[i].size = FLASH_BANK_SIZE; in flash_init()
70 flash_info[i].sector_count = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
71 memset (flash_info[i].protect, 0, CONFIG_SYS_MAX_FLASH_SECT); in flash_init()
77 for (j = 0; j < flash_info[i].sector_count; j++) { in flash_init()
80 flash_info[i].start[j] = flashbase; in flash_init()
84 flash_info[i].start[j] = in flash_init()
89 flash_info[i].start[j] = flashbase + 0x8000; in flash_init()
93 flash_info[i].start[j] = in flash_init()
98 size += flash_info[i].size; in flash_init()
103 CONFIG_SYS_FLASH_BASE + 0x3ffff, &flash_info[0]); in flash_init()