diff options
| author | Brian Norris <computersforpeace@gmail.com> | 2016-11-29 21:28:30 -0500 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2016-11-29 21:28:30 -0500 |
| commit | 0989b0909c1f86b8a4a76c0bee101cd017c4e259 (patch) | |
| tree | e12d6ba197340410a94b7a2c476d5549d4f6b90e /include/linux/platform_data | |
| parent | b2c4ba5cf712fede57dd3e15922ae647dde55a82 (diff) | |
| parent | 8fcfba072420518fda4b2fe00a3f3c9c3e2774e2 (diff) | |
Merge tag 'nand/for-4.10' of github.com:linux-nand/linux
From Boris Brezillon:
"""
This pull request contains the following notable changes:
- new tango NAND controller driver
- new ox820 NAND controller driver
- addition of a new full-ID entry in the nand_ids table
- rework of the s3c240 driver to support DT
- extension of the nand_sdr_timings to expose tCCS, tPROG and tR
- addition of a new flag to ask the core to wait for tCCS when sending
a RNDIN/RNDOUT command
- addition of a new flag to ask the core to let the controller driver
send the READ/PROGPAGE command
This pull request also contains minor fixes/cleanup/cosmetic changes:
- properly support 512 ECC step size in the sunxi driver
- improve the error messages in the pxa probe path
- fix module autoload in the omap2 driver
- cleanup of several nand drivers to return nand_scan{_tail}() error
code instead of returning -EIO
- various cleanups in the denali driver
- cleanups in the ooblayout handling (MTD core)
- fix an error check in nandsim
"""
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mtd-nand-s3c2410.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/platform_data/mtd-nand-s3c2410.h b/include/linux/platform_data/mtd-nand-s3c2410.h index c55e42ee57fa..f01659026b26 100644 --- a/include/linux/platform_data/mtd-nand-s3c2410.h +++ b/include/linux/platform_data/mtd-nand-s3c2410.h | |||
| @@ -12,9 +12,10 @@ | |||
| 12 | #ifndef __MTD_NAND_S3C2410_H | 12 | #ifndef __MTD_NAND_S3C2410_H |
| 13 | #define __MTD_NAND_S3C2410_H | 13 | #define __MTD_NAND_S3C2410_H |
| 14 | 14 | ||
| 15 | #include <linux/mtd/nand.h> | ||
| 16 | |||
| 15 | /** | 17 | /** |
| 16 | * struct s3c2410_nand_set - define a set of one or more nand chips | 18 | * struct s3c2410_nand_set - define a set of one or more nand chips |
| 17 | * @disable_ecc: Entirely disable ECC - Dangerous | ||
| 18 | * @flash_bbt: Openmoko u-boot can create a Bad Block Table | 19 | * @flash_bbt: Openmoko u-boot can create a Bad Block Table |
| 19 | * Setting this flag will allow the kernel to | 20 | * Setting this flag will allow the kernel to |
| 20 | * look for it at boot time and also skip the NAND | 21 | * look for it at boot time and also skip the NAND |
| @@ -31,7 +32,6 @@ | |||
| 31 | * a warning at boot time. | 32 | * a warning at boot time. |
| 32 | */ | 33 | */ |
| 33 | struct s3c2410_nand_set { | 34 | struct s3c2410_nand_set { |
| 34 | unsigned int disable_ecc:1; | ||
| 35 | unsigned int flash_bbt:1; | 35 | unsigned int flash_bbt:1; |
| 36 | 36 | ||
| 37 | unsigned int options; | 37 | unsigned int options; |
| @@ -40,6 +40,7 @@ struct s3c2410_nand_set { | |||
| 40 | char *name; | 40 | char *name; |
| 41 | int *nr_map; | 41 | int *nr_map; |
| 42 | struct mtd_partition *partitions; | 42 | struct mtd_partition *partitions; |
| 43 | struct device_node *of_node; | ||
| 43 | }; | 44 | }; |
| 44 | 45 | ||
| 45 | struct s3c2410_platform_nand { | 46 | struct s3c2410_platform_nand { |
| @@ -51,6 +52,8 @@ struct s3c2410_platform_nand { | |||
| 51 | 52 | ||
| 52 | unsigned int ignore_unset_ecc:1; | 53 | unsigned int ignore_unset_ecc:1; |
| 53 | 54 | ||
| 55 | nand_ecc_modes_t ecc_mode; | ||
| 56 | |||
| 54 | int nr_sets; | 57 | int nr_sets; |
| 55 | struct s3c2410_nand_set *sets; | 58 | struct s3c2410_nand_set *sets; |
| 56 | 59 | ||
