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>
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) {
static const struct of_device_id mtdsplit_bcm_wfi_of_match[] = {
{ .compatible = "brcm,wfi" },
- { .compatible = "brcm,wfi-sercomm" },
{ },
};