Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128191
b: refs/heads/master
c: a808ad3
h: refs/heads/master
i:
  128189: f4b2032
  128187: a7db10e
  128183: 1ea2590
  128175: e1ea198
  128159: 128df24
  128127: a2ab7ef
v: v3
  • Loading branch information
Sean MacLennan authored and David Woodhouse committed Jan 5, 2009
1 parent a11c423 commit 07381f3
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 137 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: 647b0d3854d776485faea9de7e7ed7fd4bdc6f20
refs/heads/master: a808ad3b0d28411e2838117c5b2ae680ae42483c
39 changes: 39 additions & 0 deletions trunk/Documentation/powerpc/dts-bindings/4xx/ndfc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
AMCC NDFC (NanD Flash Controller)

Required properties:
- compatible : "ibm,ndfc".
- reg : should specify chip select and size used for the chip (0x2000).

Optional properties:
- ccr : NDFC config and control register value (default 0).
- bank-settings : NDFC bank configuration register value (default 0).

Notes:
- partition(s) - follows the OF MTD standard for partitions

Example:

ndfc@1,0 {
compatible = "ibm,ndfc";
reg = <0x00000001 0x00000000 0x00002000>;
ccr = <0x00001000>;
bank-settings = <0x80002222>;
#address-cells = <1>;
#size-cells = <1>;

nand {
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "kernel";
reg = <0x00000000 0x00200000>;
};
partition@200000 {
label = "root";
reg = <0x00200000 0x03E00000>;
};
};
};


7 changes: 7 additions & 0 deletions trunk/drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ config MTD_NAND_S3C2410_HWECC
incorrect ECC generation, and if using these, the default of
software ECC is preferable.

config MTD_NAND_NDFC
tristate "NDFC NanD Flash Controller"
depends on 4xx
select MTD_NAND_ECC_SMC
help
NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs

config MTD_NAND_S3C2410_CLKSTOP
bool "S3C2410 NAND IDLE clock stop"
depends on MTD_NAND_S3C2410
Expand Down
Loading

0 comments on commit 07381f3

Please sign in to comment.