mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
78be63252b
This patch adds omap_nand_platform data based on a patch by Shahrom Sharif-Kashani <sshahrom@micron.com>, and makes omap1 boards to use omap_nand_platform_data instead of nand_platform_data used earlier. Signed-off-by: Tony Lindgren <tony@atomide.com>
25 lines
630 B
C
25 lines
630 B
C
/*
|
|
* include/asm-arm/arch-omap/nand.h
|
|
*
|
|
* Copyright (C) 2006 Micron Technology Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/mtd/partitions.h>
|
|
|
|
struct omap_nand_platform_data {
|
|
unsigned int options;
|
|
int cs;
|
|
int gpio_irq;
|
|
struct mtd_partition *parts;
|
|
int nr_parts;
|
|
int (*nand_setup)(void __iomem *);
|
|
int (*dev_ready)(struct omap_nand_platform_data *);
|
|
int dma_channel;
|
|
void __iomem *gpmc_cs_baseaddr;
|
|
void __iomem *gpmc_baseaddr;
|
|
};
|