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

Go to the source code of this file.

Macros

#define SROM_TOTAL_SIZE_OFF   0xF0000000
 
#define SROM_SECTOR_SIZE_OFF   0xF0000004
 
#define SROM_PAGE_SIZE_OFF   0xF0000008
 
#define SROM_FLUSH_OFF   0xF1000000
 
#define SROM_ERASE_OFF   0xF2000000
 

Detailed Description

Interface definitions for the SPI Flash ROM driver.

Definition in file drv_srom_intf.h.

Macro Definition Documentation

#define SROM_ERASE_OFF   0xF2000000

Write this offset, plus the byte offset of the start of a sector, to erase a sector. Any write data is ignored, but there must be at least one byte of write data. Only applies when the driver is in MTD mode.

Definition at line 39 of file drv_srom_intf.h.

#define SROM_FLUSH_OFF   0xF1000000

Write this offset to flush any pending writes.

Definition at line 33 of file drv_srom_intf.h.

#define SROM_PAGE_SIZE_OFF   0xF0000008

Read this offset to get the device page size.

Definition at line 30 of file drv_srom_intf.h.

#define SROM_SECTOR_SIZE_OFF   0xF0000004

Read this offset to get the device sector size.

Definition at line 27 of file drv_srom_intf.h.

#define SROM_TOTAL_SIZE_OFF   0xF0000000

Read this offset to get the total device size.

Definition at line 24 of file drv_srom_intf.h.