Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101810
b: refs/heads/master
c: 4248652
h: refs/heads/master
v: v3
  • Loading branch information
Sean MacLennan authored and Josh Boyer committed Jul 9, 2008
1 parent d66f560 commit e8d3a28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 1bc54c03117b90716e0dedd7abb2a20405de65df
refs/heads/master: 4248652d4f3ce6be1a94c77ddbfeb937af1df800
9 changes: 7 additions & 2 deletions trunk/arch/powerpc/platforms/44x/warp-nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,14 @@ static int warp_setup_nand_flash(void)
pp = of_find_property(np, "reg", NULL);
if (pp && (pp->length == 12)) {
u32 *v = pp->value;
if (v[2] == 0x4000000)
if (v[2] == 0x4000000) {
/* Rev A = 64M NAND */
warp_nand_chip0.nr_partitions = 2;
warp_nand_chip0.nr_partitions = 3;

nand_parts[1].size = 0x3000000;
nand_parts[2].offset = 0x3200000;
nand_parts[2].size = 0x0e00000;
}
}
of_node_put(np);
}
Expand Down

0 comments on commit e8d3a28

Please sign in to comment.