Skip to content
Snippets Groups Projects
Commit c40c94a3 authored by Renato Andreola's avatar Renato Andreola Committed by Stefan Roese
Browse files

cfi_flash: precision and underflow problem in tout calculation


With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000.

Signed-off-by: default avatarRenato Andreola <renato.andreola@imagos.it>
Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 7027d562
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment