Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
gpmi_nand_platform_data Struct Reference

#include <gpmi-nand.h>

Data Fields

int(* platform_init )(void)
 
unsigned int min_prop_delay_in_ns
 
unsigned int max_prop_delay_in_ns
 
unsigned int max_chip_count
 
struct mtd_partitionpartitions
 
unsigned partition_count
 

Detailed Description

struct gpmi_nand_platform_data - GPMI NAND driver platform data.

This structure communicates platform-specific information to the GPMI NAND driver that can't be expressed as resources.

: A pointer to a function the driver will call to initialize the platform (e.g., set up the pin mux). : Minimum propagation delay of GPMI signals to and from the NAND Flash device, in nanoseconds. : Maximum propagation delay of GPMI signals to and from the NAND Flash device, in nanoseconds. : The maximum number of chips for which the driver should configure the hardware. This value most likely reflects the number of pins that are connected to a NAND Flash device. If this is greater than the SoC hardware can support, the driver will print a message and fail to initialize. : An optional pointer to an array of partition descriptions. : The number of elements in the partitions array.

Definition at line 55 of file gpmi-nand.h.

Field Documentation

unsigned int max_chip_count

Definition at line 62 of file gpmi-nand.h.

unsigned int max_prop_delay_in_ns

Definition at line 61 of file gpmi-nand.h.

unsigned int min_prop_delay_in_ns

Definition at line 60 of file gpmi-nand.h.

unsigned partition_count

Definition at line 66 of file gpmi-nand.h.

struct mtd_partition* partitions

Definition at line 65 of file gpmi-nand.h.

int(* platform_init)(void)

Definition at line 57 of file gpmi-nand.h.


The documentation for this struct was generated from the following file: