diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-07-11 18:30:41 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-09-19 19:13:08 +0300 |
commit | 002181f5b150e60c77f21de7ad4dd10e4614cd91 (patch) | |
tree | 330e87440fae6c72fbfbea6945435c37e7e31cb7 /drivers/mtd/parsers/Kconfig | |
parent | 27bfb201b2c03c8a033b60e5ad80cbf3aaa52b94 (diff) | |
download | linux-002181f5b150e60c77f21de7ad4dd10e4614cd91.tar.xz |
mtd: parsers: add Broadcom's U-Boot parser
Broadcom stores environment variables blocks inside U-Boot partition
itself. This driver finds & registers them.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220711153041.6036-2-zajec5@gmail.com
Diffstat (limited to 'drivers/mtd/parsers/Kconfig')
-rw-r--r-- | drivers/mtd/parsers/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig index b43df73927a0..81f2d0a795a6 100644 --- a/drivers/mtd/parsers/Kconfig +++ b/drivers/mtd/parsers/Kconfig @@ -20,6 +20,16 @@ config MTD_BCM63XX_PARTS This provides partition parsing for BCM63xx devices with CFE bootloaders. +config MTD_BRCM_U_BOOT + tristate "Broadcom's U-Boot partition parser" + depends on ARCH_BCM4908 || COMPILE_TEST + help + Broadcom uses a custom way of storing U-Boot environment variables. + They are placed inside U-Boot partition itself at unspecified offset. + It's possible to locate them by looking for a custom header with a + magic value. This driver does that and creates subpartitions for + each found environment variables block. + config MTD_CMDLINE_PARTS tristate "Command line partition table parsing" depends on MTD |