summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2015-12-13 17:49:26 -0500
committerBrian Norris <computersforpeace@gmail.com>2016-02-12 13:27:48 -0500
commit436e94a6fbcdca133a2546769db4ac0a84265ad1 (patch)
tree56868d9891e22c144572edff76b6c70d18fd39e5 /drivers/mtd/Kconfig
parent94248462f066ec19b9c184ff66300e6e71977609 (diff)
mtd: bcm63xxpart: Remove dependency on mach-bcm63xx
Read nvram directly from flash instead of using the in-memory copy that mach-bcm63xx has, to remove the dependency on mach-bcm63xx and allow the parser to work on bmips too. Rename remaining BCM63XX defines to BCM963XX as these are properties of the flash layout on the board. BCM963XX_DEFAULT_PSI_SIZE changes from SZ_64K to 64 because it will be multiplied by SZ_1K later on. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 42cc953309f1..e83a279f1217 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -142,7 +142,7 @@ config MTD_AR7_PARTS
142 142
143config MTD_BCM63XX_PARTS 143config MTD_BCM63XX_PARTS
144 tristate "BCM63XX CFE partitioning support" 144 tristate "BCM63XX CFE partitioning support"
145 depends on BCM63XX 145 depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
146 select CRC32 146 select CRC32
147 help 147 help
148 This provides partions parsing for BCM63xx devices with CFE 148 This provides partions parsing for BCM63xx devices with CFE