Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176940
b: refs/heads/master
c: 74218fe
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and David Woodhouse committed Nov 30, 2009
1 parent 8a6170e commit 2ef446b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: b1c6e6db5bb7acad82e1c64914c6a9404dae3ee1
refs/heads/master: 74218fedf478323cce831b51507eebd1faf0bf7f
2 changes: 2 additions & 0 deletions trunk/arch/arm/plat-s3c/include/plat/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Setting this flag will allow the kernel to
* look for it at boot time and also skip the NAND
* scan.
* @options: Default value to set into 'struct nand_chip' options.
* @nr_chips: Number of chips in this set
* @nr_partitions: Number of partitions pointed to by @partitions
* @name: Name of set (optional)
Expand All @@ -31,6 +32,7 @@ struct s3c2410_nand_set {
unsigned int disable_ecc:1;
unsigned int flash_bbt:1;

unsigned int options;
int nr_chips;
int nr_partitions;
char *name;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
chip->select_chip = s3c2410_nand_select_chip;
chip->chip_delay = 50;
chip->priv = nmtd;
chip->options = 0;
chip->options = set->options;
chip->controller = &info->controller;

switch (info->cpu_type) {
Expand Down

0 comments on commit 2ef446b

Please sign in to comment.