Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures
mtd-nand-s3c2410.h File Reference

Go to the source code of this file.

Data Structures

struct  s3c2410_nand_set
 
struct  s3c2410_platform_nand
 

Functions

: Name of set (optional)

struct s3c2410_nand_set - define a set of one or more nand chips : Entirely disable ECC - Dangerous : Openmoko u-boot can create a Bad Block Table Setting this flag will allow the kernel to look for it at boot time and also skip the NAND scan. : Default value to set into 'struct nand_chip' options. : Number of chips in this set : Number of partitions pointed to by

: Map for low-layer logical to physical chip numbers (option) : The mtd partition list

define a set of one or more nand chips registered with an unique mtd. Also allows to pass flag to the underlying NAND layer. 'disable_ecc' will trigger a warning at boot time.

void s3c_nand_set_platdata (struct s3c2410_platform_nand *nand)
 

Function Documentation

void s3c_nand_set_platdata ( struct s3c2410_platform_nand nand)

s3c_nand_set_platdata() - register NAND platform data. : The NAND platform data to register with s3c_device_nand.

This function copies the given NAND platform data, and registers it with the s3c_device_nand. This allows to be __initdata.