Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9001
b: refs/heads/master
c: 62052d4
h: refs/heads/master
i:
  8999: a33645c
v: v3
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Sep 17, 2005
1 parent 17de05d commit b276ff3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12e8780813c8c515b685b86c1306d169a4cae5fe
refs/heads/master: 62052d42a5327281fc43fd7bcfb73ac7d36ffc2e
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/maps/sharpsl-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ int __init init_sharpsl(void)
} else if (machine_is_tosa()) {
sharpsl_partitions[0].size=0x006a0000;
sharpsl_partitions[0].offset=0x00160000;
} else if (machine_is_spitz()) {
} else if (machine_is_spitz() || machine_is_akita() || machine_is_borzoi()) {
sharpsl_partitions[0].size=0x006b0000;
sharpsl_partitions[0].offset=0x00140000;
} else {
Expand Down
10 changes: 8 additions & 2 deletions trunk/drivers/mtd/nand/sharpsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,16 @@ sharpsl_nand_init(void)
sharpsl_partition_info[1].size=25 * 1024 * 1024;
} else if (machine_is_husky()) {
sharpsl_partition_info[1].size=53 * 1024 * 1024;
}
} else if (machine_is_spitz()) {
sharpsl_partition_info[1].size=5 * 1024 * 1024;
} else if (machine_is_akita()) {
sharpsl_partition_info[1].size=58 * 1024 * 1024;
} else if (machine_is_borzoi()) {
sharpsl_partition_info[1].size=32 * 1024 * 1024;
}
}

if (machine_is_husky()) {
if (machine_is_husky() || machine_is_borzoi()) {
/* Need to use small eraseblock size for backward compatibility */
sharpsl_mtd->flags |= MTD_NO_VIRTBLOCKS;
}
Expand Down

0 comments on commit b276ff3

Please sign in to comment.