diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-12 14:28:00 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-12 14:28:00 +0400 |
commit | 742c52533b05d8ae83c794bd6811100675b85ce5 (patch) | |
tree | de89a81d88c19504d1dc4f023a4b480c9022b3b5 /arch/arm/plat-omap/include/mach/onenand.h | |
parent | 36cd4fb5d277f34fe9e4db0deac2d4efd7dff735 (diff) | |
parent | 10fec20ef5eec1c91913baec1225400f0d02df40 (diff) | |
download | linux-742c52533b05d8ae83c794bd6811100675b85ce5.tar.xz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
include/asm-arm/arch-omap/onenand.h
Diffstat (limited to 'arch/arm/plat-omap/include/mach/onenand.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/onenand.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/onenand.h b/arch/arm/plat-omap/include/mach/onenand.h new file mode 100644 index 000000000000..4649d302c263 --- /dev/null +++ b/arch/arm/plat-omap/include/mach/onenand.h @@ -0,0 +1,25 @@ +/* + * arch/arm/plat-omap/include/mach/onenand.h + * + * Copyright (C) 2006 Nokia Corporation + * Author: Juha Yrjola + * + * 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_onenand_platform_data { + int cs; + int gpio_irq; + struct mtd_partition *parts; + int nr_parts; + int (*onenand_setup)(void __iomem *, int freq); + int dma_channel; +}; + +int omap2_onenand_rephase(void); + +#define ONENAND_MAX_PARTITIONS 8 |