Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
flash.c File Reference
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>

Go to the source code of this file.

Macros

#define ASB2303_PROM_ADDR   0xA0000000 /* Boot PROM */
 
#define ASB2303_PROM_SIZE   (2 * 1024 * 1024)
 
#define ASB2303_FLASH_ADDR   0xA4000000 /* System Flash */
 
#define ASB2303_FLASH_SIZE   (32 * 1024 * 1024)
 
#define ASB2303_CONFIG_ADDR   0xA6000000 /* System Config EEPROM */
 
#define ASB2303_CONFIG_SIZE   (8 * 1024)
 

Functions

 module_init (asb2303_mtd_init)
 

Macro Definition Documentation

#define ASB2303_CONFIG_ADDR   0xA6000000 /* System Config EEPROM */

Definition at line 20 of file flash.c.

#define ASB2303_CONFIG_SIZE   (8 * 1024)

Definition at line 21 of file flash.c.

#define ASB2303_FLASH_ADDR   0xA4000000 /* System Flash */

Definition at line 18 of file flash.c.

#define ASB2303_FLASH_SIZE   (32 * 1024 * 1024)

Definition at line 19 of file flash.c.

#define ASB2303_PROM_ADDR   0xA0000000 /* Boot PROM */

Definition at line 16 of file flash.c.

#define ASB2303_PROM_SIZE   (2 * 1024 * 1024)

Definition at line 17 of file flash.c.

Function Documentation

module_init ( asb2303_mtd_init  )