mirror of https://github.com/hak5/openwrt-owl.git
parent
81d3b7905b
commit
0efe367787
|
@ -232,9 +232,9 @@ static int ifxmips_mtd_probe(struct platform_device *dev)
|
||||||
|
|
||||||
if (err <= 0) {
|
if (err <= 0) {
|
||||||
if (ifxmips_has_brn_block()) {
|
if (ifxmips_has_brn_block()) {
|
||||||
parts[4].size -= ifxmips_mtd->erasesize;
|
parts[3].size -= ifxmips_mtd->erasesize;
|
||||||
parts[5].offset = ifxmips_mtd->size - ifxmips_mtd->erasesize;
|
parts[4].offset = ifxmips_mtd->size - ifxmips_mtd->erasesize;
|
||||||
parts[5].size = ifxmips_mtd->erasesize;
|
parts[4].size = ifxmips_mtd->erasesize;
|
||||||
} else {
|
} else {
|
||||||
num_parts--;
|
num_parts--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue