From 3d975fbf42320b3c8ed9e982fdbe54d18447da04 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 10 Jun 2009 08:24:13 +0000 Subject: The attached patch adds building of firmware images for more routers based on the brcm63xx chipset. Signed-Off By: Daniel Dickinson git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'target/linux/brcm63xx/files/drivers/mtd') 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 bdb57990d..371fad2fd 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"; -- cgit v1.2.3