[U-Boot-Users] [PATCH] Use info->reset_cmd instead of FLASH_CMD_RESET

Hello,
This patch makes cfi_flash.c use info->cmd_reset. It was being set by flash_get_size() but not being used, which kept the Flash on my board from properly being reset.
It looks like there are a lot of switch cases for different flash types that could probably probably be removed by setting up some function pointers, but that is a project for another time.

In message a04f56da050211161468c3982f@mail.gmail.com you wrote:
This patch makes cfi_flash.c use info->cmd_reset. It was being set by flash_get_size() but not being used, which kept the Flash on my board from properly being reset.
Added, thanks. But please provide a CHANEGLOG entry next time.
It looks like there are a lot of switch cases for different flash types that could probably probably be removed by setting up some function pointers, but that is a project for another time.
Patches are welcome!
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Zachary Landau