RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-omap2 / include / mach / board-flash.h
blobb2242ae2bb6fbea09dce14ad7103dd03b5394978
1 /*
2 * board-sdp.h
4 * Information structures for SDP-specific board config data
6 * Copyright (C) 2009 Nokia Corporation
7 * Copyright (C) 2009 Texas Instruments
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
13 #include <linux/mtd/mtd.h>
14 #include <linux/mtd/partitions.h>
15 #include <plat/gpmc.h>
17 #define PDC_NOR 1
18 #define PDC_NAND 2
19 #define PDC_ONENAND 3
20 #define DBG_MPDB 4
22 struct flash_partitions {
23 struct mtd_partition *parts;
24 int nr_parts;
27 extern void board_flash_init(struct flash_partitions [],
28 char chip_sel[][GPMC_CS_NUM]);