#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.
#define MSG_PREFIX "impA7:" /* prefix for our printk()'s */ |
#define MTDID "impa7-%d" /* for mtdparts= partitioning */ |
#define PROBETYPES { "jedec_probe", NULL } |
#define WINDOW_ADDR0 0x00000000 /* physical properties of flash */ |
#define WINDOW_ADDR1 0x10000000 /* physical properties of flash */ |
#define WINDOW_SIZE0 0x00800000 |
#define WINDOW_SIZE1 0x00800000 |
MODULE_DESCRIPTION |
( |
"MTD map driver for implementa impA7" |
| ) |
|
module_exit |
( |
cleanup_impa7 |
| ) |
|
module_init |
( |
init_impa7 |
| ) |
|