[U-Boot] [PATCH] nios2: reset cfi flash before reading env

Thomas Chou thomas at wytron.com.tw
Tue Jan 18 03:05:51 CET 2011


Dear Wolfgang,

On 01/18/2011 05:02 AM, Wolfgang Denk wrote:
>> void __flash_cmd_reset(flash_info_t *info)
>
> I recommend you have a second, closer look. Notice that
> flash_cmd_reset() comes with __attribute__ weak, because it does not
> work as a general solution - it may work here, but other code may be
> needed on other flash chips.
>
> Your code does not provide such an option.

Thanks a lot. I will add a weak attribute.

Best regards,
Thomas


More information about the U-Boot mailing list