[U-Boot] [PATCH v8 RESEND 2/2] console: usb: kbd: To improve TFTP booting performance
Stephen Warren
swarren at wwwdotorg.org
Mon Aug 12 17:46:57 CEST 2013
On 08/11/2013 12:08 PM, Marek Vasut wrote:
> Dear Jim Lin,
>
>> TFTP booting is slow when a USB keyboard is installed and
>> stdin has usbkbd added.
>> This fix is to change Ctrl-C polling for USB keyboard to every second
>> when NET transfer is running.
>> diff --git a/include/usb.h b/include/usb.h
>> +extern int __maybe_unused net_busy_flag;
>
> I wonder what would happen if you declared it here as
>
> static int __maybe_unused
>
> Would it have some side-effects?
Then each file that includes this header will get a separate copy of the
variable.
More information about the U-Boot
mailing list