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

Data Fields

u32 bank
 
u32 dev_id
 
struct mutex lock
 
struct mtd_info mtd
 
u32 num_parts
 
struct mtd_partitionparts
 
u32 page_size
 
void __iomembase_addr
 
u8 erase_cmd
 
u8 fast_mode
 

Detailed Description

struct spear_snor_flash - Structure for Serial NOR Flash

: Bank number(0, 1, 2, 3) for each NOR-flash. : Device ID of NOR-flash. : lock to manage flash read, write and erase operations : MTD info for each NOR-flash. : Total number of partition in each bank of NOR-flash. : Partition info for each bank of NOR-flash. : Page size of NOR-flash. : Base address of NOR-flash. : erase command may vary on different flash types : flash supports read in fast mode

Definition at line 195 of file spear_smi.c.

Field Documentation

u32 bank

Definition at line 196 of file spear_smi.c.

void __iomem* base_addr

Definition at line 203 of file spear_smi.c.

u32 dev_id

Definition at line 197 of file spear_smi.c.

u8 erase_cmd

Definition at line 204 of file spear_smi.c.

u8 fast_mode

Definition at line 205 of file spear_smi.c.

struct mutex lock

Definition at line 198 of file spear_smi.c.

Definition at line 199 of file spear_smi.c.

u32 num_parts

Definition at line 200 of file spear_smi.c.

u32 page_size

Definition at line 202 of file spear_smi.c.

Definition at line 201 of file spear_smi.c.


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