
5 Dec
2006
5 Dec
'06
11:54 p.m.
Hi all,
While I try to examine cfi_flash.c file I have found that flash_detect_cfi() function used uninitialized value of info->cmd_reset:
flash_get_size() { .... if (flash_detect_cfi(info)) { .... switch (info->vendor) { .... info->cmd_reset = x_CMD_RESET; .... } } }
flash_detect_cfi(info) { .... flash_write_cmd (info, 0, 0, info->cmd_reset); .... }
Am I right? Or may be - 'Is it true?' :)
Best regards, Matvejchikov Ilya, Russia, Moscow.