mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
MIPS: BCM63XX: use the new bcm63xxpart parser
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
529688fed6
commit
f4aa7adb8b
1 changed files with 3 additions and 0 deletions
|
@ -834,10 +834,13 @@ static struct mtd_partition mtd_partitions[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char *bcm63xx_part_types[] = { "bcm63xxpart", NULL };
|
||||||
|
|
||||||
static struct physmap_flash_data flash_data = {
|
static struct physmap_flash_data flash_data = {
|
||||||
.width = 2,
|
.width = 2,
|
||||||
.nr_parts = ARRAY_SIZE(mtd_partitions),
|
.nr_parts = ARRAY_SIZE(mtd_partitions),
|
||||||
.parts = mtd_partitions,
|
.parts = mtd_partitions,
|
||||||
|
.part_probe_types = bcm63xx_part_types,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource mtd_resources[] = {
|
static struct resource mtd_resources[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue