mtd: parsers: bcm63xx: simplify CFE detection
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 15 Jun 2020 09:17:40 +0000 (11:17 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:10 +0000 (08:35 +0200)
commit91e81150d38842b58133ce1a5d70c88e8f1cf7c1
tree135308dbb622ad966e9fa087b88f146a79e7535c
parent4551e78ad98add1f16b70cf286d5aad3ce7bcd4c
mtd: parsers: bcm63xx: simplify CFE detection

Instead of trying to parse CFE version string, which is customized by some
vendors, let's just check that "CFE1" was passed on argument 3.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200615091740.2958303-1-noltari@gmail.com
drivers/mtd/parsers/bcm63xxpart.c