#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/regulator/consumer.h>
#include <asm/mach/flash.h>
#include <plat/gpmc.h>
#include <linux/platform_data/mtd-onenand-omap2.h>
#include <asm/gpio.h>
#include <plat/dma.h>
#include <plat/cpu.h>
Go to the source code of this file.
|
int | omap3_onenand_read_bufferram (struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) |
|
int | omap3_onenand_write_bufferram (struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) |
|
int | omap2_onenand_read_bufferram (struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) |
|
int | omap2_onenand_write_bufferram (struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) |
|
int | omap2_onenand_rephase (void) |
|
| module_init (omap2_onenand_init) |
|
| module_exit (omap2_onenand_exit) |
|
| MODULE_ALIAS ("platform:"DRIVER_NAME) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Jarkko Lavinen <[email protected]>") |
|
| MODULE_DESCRIPTION ("Glue layer for OneNAND flash on OMAP2 / OMAP3") |
|
#define DRIVER_NAME "omap2-onenand" |
#define ONENAND_BUFRAM_SIZE (1024 * 5) |
MODULE_ALIAS |
( |
"platform:" |
DRIVER_NAME | ) |
|
MODULE_DESCRIPTION |
( |
"Glue layer for OneNAND flash on OMAP2 / OMAP3" |
| ) |
|
module_exit |
( |
omap2_onenand_exit |
| ) |
|
module_init |
( |
omap2_onenand_init |
| ) |
|