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: NBoris Brezillon <boris.brezillon@collabora.com> Signed-off-by: NRon Minnich <rminnich@google.com> Tested-by: NRon Minnich <rminnich@google.com> Signed-off-by: NRichard Weinberger <richard@nod.at>
Showing
想要评论请 注册 或 登录