Skip to content
Commit eb13fa02 authored by Boris Brezillon's avatar Boris Brezillon Committed by Richard Weinberger
Browse files

mtd: parser: cmdline: Support MTD names containing one or more colons



Looks like some drivers define MTD names with a colon in it, thus
making mtdpart= parsing impossible. Let's fix the parser to gracefully
handle that case: the last ':' in a partition definition sequence is
considered instead of the first one.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: default avatarRon Minnich <rminnich@google.com>
Tested-by: default avatarRon Minnich <rminnich@google.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 9029537c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment