summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/files/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-10 08:24:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-10 08:24:13 +0000
commitca16accfbb4db35a51e88a1e57c6eaf7a4503b64 (patch)
tree5b0a6d1ec2ee226fc6187698838fe2cc7aa96eb6 /target/linux/brcm63xx/files/drivers
parente9c22f79392bdf0835cb4c57155600eb61de4c82 (diff)
downloadmtk-20170518-ca16accfbb4db35a51e88a1e57c6eaf7a4503b64.zip
mtk-20170518-ca16accfbb4db35a51e88a1e57c6eaf7a4503b64.tar.gz
mtk-20170518-ca16accfbb4db35a51e88a1e57c6eaf7a4503b64.tar.bz2
The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com> SVN-Revision: 16396
Diffstat (limited to 'target/linux/brcm63xx/files/drivers')
-rw-r--r--target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
index bdb5799..371fad2 100644
--- a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
+++ b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
@@ -163,16 +163,16 @@ static int parse_cfe_partitions( struct mtd_info *master, struct mtd_partition *
boardid = &(buf->ag306.boardid[0]);
break;
case 3:
- matchtagid = "bc308";
- tagid = &(buf->bc308.tagId[0]);
- sscanf(buf->bc308.rootAddress,"%u", &rootfsaddr);
- sscanf(buf->bc308.rootLength, "%u", &rootfslen);
- sscanf(buf->bc308.kernelAddress, "%u", &kerneladdr);
- sscanf(buf->bc308.kernelLength, "%u", &kernellen);
- sscanf(buf->bc308.totalLength, "%u", &totallen);
- tagidcrc = buf->bc308.tagIdCRC;
- tagversion = &(buf->bc308.tagVersion[0]);
- boardid = &(buf->bc308.boardid[0]);
+ matchtagid = "bc221";
+ tagid = &(buf->bc221.tagId[0]);
+ sscanf(buf->bc221.rootAddress,"%u", &rootfsaddr);
+ sscanf(buf->bc221.rootLength, "%u", &rootfslen);
+ sscanf(buf->bc221.kernelAddress, "%u", &kerneladdr);
+ sscanf(buf->bc221.kernelLength, "%u", &kernellen);
+ sscanf(buf->bc221.totalLength, "%u", &totallen);
+ tagidcrc = buf->bc221.tagIdCRC;
+ tagversion = &(buf->bc221.tagVersion[0]);
+ boardid = &(buf->bc221.boardid[0]);
break;
case 4:
matchtagid = "bc310";