aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-06-02 09:02:23 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-06-02 09:08:38 +0200
commit4b2fe12953e173df90a36326ae92486331594f4c (patch)
tree8613c1c9226574c4c147ea8876473f6e8dc5e567 /target/linux/generic/files
parent80d811480256bda63b0f0d087b55a9e35b59e91e (diff)
downloadupstream-4b2fe12953e173df90a36326ae92486331594f4c.tar.gz
upstream-4b2fe12953e173df90a36326ae92486331594f4c.tar.bz2
upstream-4b2fe12953e173df90a36326ae92486331594f4c.zip
kernel: mtdsplit: bcm_wfi: remove brcm,wfi-sercomm compatibility
The only Sercomm WFI user has been migrated to a dedicated firmware parser. Keep support for no cferam partition based on a boolean DT property. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c
index 7eb6526f9e..4e46ded587 100644
--- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c
+++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c
@@ -150,7 +150,7 @@ static int mtdsplit_parse_bcm_wfi(struct mtd_info *master,
if (!mtd_node)
return -EINVAL;
- if (of_device_is_compatible(mtd_node, "brcm,wfi-sercomm"))
+ if (of_property_read_bool(mtd_node, "brcm,no-cferam"))
cfe_part = false;
if (cfe_part) {
@@ -215,7 +215,6 @@ static int mtdsplit_parse_bcm_wfi(struct mtd_info *master,
static const struct of_device_id mtdsplit_bcm_wfi_of_match[] = {
{ .compatible = "brcm,wfi" },
- { .compatible = "brcm,wfi-sercomm" },
{ },
};