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>
This commit is contained in:
parent
80d8114802
commit
4b2fe12953
1 changed files with 1 additions and 2 deletions
|
@ -150,7 +150,7 @@ static int mtdsplit_parse_bcm_wfi(struct mtd_info *master,
|
||||||
if (!mtd_node)
|
if (!mtd_node)
|
||||||
return -EINVAL;
|
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;
|
cfe_part = false;
|
||||||
|
|
||||||
if (cfe_part) {
|
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[] = {
|
static const struct of_device_id mtdsplit_bcm_wfi_of_match[] = {
|
||||||
{ .compatible = "brcm,wfi" },
|
{ .compatible = "brcm,wfi" },
|
||||||
{ .compatible = "brcm,wfi-sercomm" },
|
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue