Windows wants UNC names for COM ports >9 (legacy COM ports only work with one digit)

As UNC also works for smaller names, just retarget all requests for
dev=COMx on win32 to \\.\COMx. Tested with large and small COM port
numbers on XP.

Corresponding to flashrom svn r883.

Signed-off-by: Patrick Georgi <>
Acked-by: Carl-Daniel Hailfinger <>
1 file changed