mtd: parsers: bcm63xx: Do not make it modular
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 29 Sep 2020 17:27:21 +0000 (10:27 -0700)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 2 Oct 2020 07:09:08 +0000 (09:09 +0200)
With commit 91e81150d388 ("mtd: parsers: bcm63xx: simplify CFE
detection"), we generate a reference to fw_arg3 which is the fourth
firmware/command line argument on MIPS platforms. That symbol is not
exported and would cause a linking failure.

The parser is typically necessary to boot a BCM63xx-based system anyway
so having it be part of the kernel image makes sense, therefore make it
'bool' instead of 'tristate'.

Fixes: 91e81150d388 ("mtd: parsers: bcm63xx: simplify CFE detection")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200929172726.30469-1-f.fainelli@gmail.com
drivers/mtd/parsers/Kconfig

index f98363c..e723543 100644 (file)
@@ -12,7 +12,7 @@ config MTD_BCM47XX_PARTS
          boards.
 
 config MTD_BCM63XX_PARTS
-       tristate "BCM63XX CFE partitioning parser"
+       bool "BCM63XX CFE partitioning parser"
        depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
        select CRC32
        select MTD_PARSER_IMAGETAG