[U-Boot-Users] [PATCH] use CFI-Flash and board depended driver together
Matvejchikov Ilya
matvejchikov at gmail.com
Tue Dec 5 23:54:11 CET 2006
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.
More information about the U-Boot
mailing list