summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx-nand.h
blob: 06acddb2f728803aed610485648bade713f4cb77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __ASM_ARCH_NAND_H
#define __ASM_ARCH_NAND_H

#include <linux/mtd/mtd.h>

void imx_nand_load_image(void *dest, int size);
void imx_nand_set_layout(int writesize, int datawidth);

struct imx_nand_platform_data {
	int width;
	int hw_ecc:1;
	int flash_bbt:1;
};
#endif /* __ASM_ARCH_NAND_H */