mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
9ae819a819
A pxa3xx_set_nand_info() is also introduced to set the PXA3xx NAND driver specific platform_data structure pointer. Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Sergey Podstavin <spodstavin@ru.mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
21 lines
518 B
C
21 lines
518 B
C
#ifndef __ASM_ARCH_PXA3XX_NAND_H
|
|
#define __ASM_ARCH_PXA3XX_NAND_H
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/partitions.h>
|
|
|
|
struct pxa3xx_nand_platform_data {
|
|
|
|
/* the data flash bus is shared between the Static Memory
|
|
* Controller and the Data Flash Controller, the arbiter
|
|
* controls the ownership of the bus
|
|
*/
|
|
int enable_arbiter;
|
|
|
|
struct mtd_partition *parts;
|
|
unsigned int nr_parts;
|
|
};
|
|
|
|
extern void pxa3xx_set_nand_info(struct pxa3xx_nand_platform_data *info);
|
|
#endif /* __ASM_ARCH_PXA3XX_NAND_H */
|