mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
a5c0ad6354
SVN-Revision: 37287
21 lines
579 B
Diff
21 lines
579 B
Diff
--- a/drivers/mtd/bcm47xxpart.c
|
|
+++ b/drivers/mtd/bcm47xxpart.c
|
|
@@ -134,7 +134,7 @@ static int bcm47xxpart_parse(struct mtd_
|
|
trx = (struct trx_header *)buf;
|
|
|
|
trx_part = curr_part;
|
|
- bcm47xxpart_add_part(&parts[curr_part++], "firmware",
|
|
+ bcm47xxpart_add_part(&parts[curr_part++], "linux",
|
|
offset, 0);
|
|
|
|
i = 0;
|
|
@@ -147,7 +147,7 @@ static int bcm47xxpart_parse(struct mtd_
|
|
i++;
|
|
}
|
|
|
|
- bcm47xxpart_add_part(&parts[curr_part++], "linux",
|
|
+ bcm47xxpart_add_part(&parts[curr_part++], "kernel",
|
|
offset + trx->offset[i], 0);
|
|
i++;
|
|
|