Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcb96a4e authored by Florian Fainelli's avatar Florian Fainelli Committed by Ralf Baechle
Browse files

MIPS: AR7: use part_probe_types to specificy the partition parser to use



This patch changes the physmap-flash platform data on AR7 to pass the
correct partition parser: ar7part to used by the "physmap-flash" mapping
driver so we get the partitions probed correctly.

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Cc: blogic@openwrt.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4654/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d08be0db
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -202,8 +202,11 @@ static struct resource physmap_flash_resource = {
	.end	= 0x107fffff,
};

static const char *ar7_probe_types[] = { "ar7part", NULL };

static struct physmap_flash_data physmap_flash_data = {
	.width	= 2,
	.part_probe_types = ar7_probe_types,
};

static struct platform_device physmap_flash = {