omap3 flash: rename board-sdp-flash.c to be use by other boards

rename board-sdp-flash.c(board-flash.c) and board-sdp.h(board-flash.h) to
used by other board e.g. zoom

Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Sukumar Ghorai
2010-07-09 14:27:47 +00:00
committed by Tony Lindgren
parent f450d86790
commit 13d6b73cf1
4 changed files with 60 additions and 55 deletions

View File

@ -12,10 +12,17 @@
*/
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <plat/gpmc.h>
#define PDC_NOR 1
#define PDC_NAND 2
#define PDC_ONENAND 3
#define DBG_MPDB 4
struct flash_partitions {
struct mtd_partition *parts;
int nr_parts;
};
extern void sdp_flash_init(struct flash_partitions []);
extern void board_flash_init(struct flash_partitions [],
char chip_sel[][GPMC_CS_NUM]);