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

Go to the source code of this file.

Data Structures

struct  partitiontable_head
 
struct  partitiontable_entry
 
struct  partitiontable
 

Macros

#define FLASH_BOOT_MAGIC   0xbeefcace
 
#define BOOTPARAM_OFFSET   0xc000
 
#define PARTITION_TABLE_OFFSET   10
 
#define PARTITION_TABLE_MAGIC   0xbeef /* Not a good magic */
 
#define PARTITIONTABLE_END_MARKER   0xFFFFFFFF
 
#define PARTITIONTABLE_END_MARKER_SIZE   4
 
#define PARTITIONTABLE_END_PAD   10
 
#define PARTITION_TYPE_PARAM   0x0001
 
#define PARTITION_TYPE_KERNEL   0x0002
 
#define PARTITION_TYPE_JFFS   0x0003
 
#define PARTITION_TYPE_JFFS2   0x0000
 
#define PARTITION_FLAGS_READONLY_MASK   0x0001
 
#define PARTITION_FLAGS_READONLY   0x0001
 

Variables

struct mtd_infoaxisflash_mtd
 

Macro Definition Documentation

#define BOOTPARAM_OFFSET   0xc000

Definition at line 7 of file axisflashmap.h.

#define FLASH_BOOT_MAGIC   0xbeefcace

Definition at line 6 of file axisflashmap.h.

#define PARTITION_FLAGS_READONLY   0x0001

Definition at line 56 of file axisflashmap.h.

#define PARTITION_FLAGS_READONLY_MASK   0x0001

Definition at line 55 of file axisflashmap.h.

#define PARTITION_TABLE_MAGIC   0xbeef /* Not a good magic */

Definition at line 13 of file axisflashmap.h.

#define PARTITION_TABLE_OFFSET   10

Definition at line 12 of file axisflashmap.h.

#define PARTITION_TYPE_JFFS   0x0003

Definition at line 52 of file axisflashmap.h.

#define PARTITION_TYPE_JFFS2   0x0000

Definition at line 53 of file axisflashmap.h.

#define PARTITION_TYPE_KERNEL   0x0002

Definition at line 51 of file axisflashmap.h.

#define PARTITION_TYPE_PARAM   0x0001

Definition at line 50 of file axisflashmap.h.

#define PARTITIONTABLE_END_MARKER   0xFFFFFFFF

Definition at line 35 of file axisflashmap.h.

#define PARTITIONTABLE_END_MARKER_SIZE   4

Definition at line 36 of file axisflashmap.h.

#define PARTITIONTABLE_END_PAD   10

Definition at line 38 of file axisflashmap.h.

Variable Documentation

struct mtd_info* axisflash_mtd

Definition at line 51 of file axisflashmap.c.