Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
Go to the source code of this file.
Macros | |
#define | FLASH_PHYS_ADDR 0x40000000 |
#define | FLASH_SIZE 0x400000 |
#define | FLASH_PARTITION0_ADDR 0x00000000 |
#define | FLASH_PARTITION0_SIZE 0x00020000 |
#define | FLASH_PARTITION1_ADDR 0x00020000 |
#define | FLASH_PARTITION1_SIZE 0x000A0000 |
#define | FLASH_PARTITION2_ADDR 0x000C0000 |
#define | FLASH_PARTITION2_SIZE 0x00180000 |
#define | FLASH_PARTITION3_ADDR 0x00240000 |
#define | FLASH_PARTITION3_SIZE 0x001C0000 |
#define | PARTITION_COUNT ARRAY_SIZE(flagadm_parts) |
Functions | |
module_init (init_flagadm) | |
module_exit (cleanup_flagadm) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Kári Davíðsson <kd@flaga.is>") | |
MODULE_DESCRIPTION ("MTD map driver for Flaga digital module") | |
Variables | |
struct map_info | flagadm_map |
struct mtd_partition | flagadm_parts [] |
#define FLASH_PARTITION0_ADDR 0x00000000 |
Definition at line 45 of file cfi_flagadm.c.
#define FLASH_PARTITION0_SIZE 0x00020000 |
Definition at line 46 of file cfi_flagadm.c.
#define FLASH_PARTITION1_ADDR 0x00020000 |
Definition at line 48 of file cfi_flagadm.c.
#define FLASH_PARTITION1_SIZE 0x000A0000 |
Definition at line 49 of file cfi_flagadm.c.
#define FLASH_PARTITION2_ADDR 0x000C0000 |
Definition at line 51 of file cfi_flagadm.c.
#define FLASH_PARTITION2_SIZE 0x00180000 |
Definition at line 52 of file cfi_flagadm.c.
#define FLASH_PARTITION3_ADDR 0x00240000 |
Definition at line 54 of file cfi_flagadm.c.
#define FLASH_PARTITION3_SIZE 0x001C0000 |
Definition at line 55 of file cfi_flagadm.c.
#define FLASH_PHYS_ADDR 0x40000000 |
Definition at line 42 of file cfi_flagadm.c.
#define FLASH_SIZE 0x400000 |
Definition at line 43 of file cfi_flagadm.c.
#define PARTITION_COUNT ARRAY_SIZE(flagadm_parts) |
Definition at line 87 of file cfi_flagadm.c.
MODULE_AUTHOR | ( | "Kári Davíðsson <kd@flaga.is>" | ) |
module_exit | ( | cleanup_flagadm | ) |
module_init | ( | init_flagadm | ) |
MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 58 of file cfi_flagadm.c.
struct mtd_partition flagadm_parts[] |
Definition at line 64 of file cfi_flagadm.c.