Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

Dear Renato Andreola,
In message 4A7AB614.2020509@imagos.it you wrote:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <head>
Please NEVER post HTML here!!
I agree with Wolfgang Denk in not using the LL type (too compiler/library/machine dependent).<br> I think that the code of Alessandro Rubini that makes the runtime decision using no extra macro definition is more system independent and
This is no extra macro definition. This macro is available by default (defined in include/common.h).
keeps a small 1% residual error when CFG_HZ is just above 100000.<br>
Keep in mind that systems with CONFIG_SYS_HZ != 1000 are considered broken anyway.
As little effort as possible should be spent to support these - efforts should rather be focussed on fixing these systems.
Best regards,
Wolfgang Denk
participants (1)
-
Wolfgang Denk