Release 4.9 arch/arm/mach-omap2/board-flash.h
/*
* board-sdp.h
*
* Information structures for SDP-specific board config data
*
* Copyright (C) 2009 Nokia Corporation
* Copyright (C) 2009 Texas Instruments
*
* 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/mtd.h>
#include <linux/mtd/partitions.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;
};
#if IS_ENABLED(CONFIG_MTD_NAND_OMAP2) || IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2)
extern void board_flash_init(struct flash_partitions [],
char chip_sel[][GPMC_CS_NUM], int nand_type);
#else
static inline void board_flash_init(struct flash_partitions part[],
char chip_sel[][GPMC_CS_NUM], int nand_type)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
tony lindgren | tony lindgren | 21 | 100.00% | 1 | 100.00% |
| Total | 21 | 100.00% | 1 | 100.00% |
#endif
#if IS_ENABLED(CONFIG_MTD_NAND_OMAP2)
extern void board_nand_init(struct mtd_partition *nand_parts,
u8 nr_parts, u8 cs, int nand_type, struct gpmc_timings *gpmc_t);
extern struct gpmc_timings nand_default_timings[];
#else
static inline void board_nand_init(struct mtd_partition *nand_parts,
u8 nr_parts, u8 cs, int nand_type, struct gpmc_timings *gpmc_t)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
tony lindgren | tony lindgren | 20 | 80.00% | 1 | 50.00% |
afzal mohammed | afzal mohammed | 5 | 20.00% | 1 | 50.00% |
| Total | 25 | 100.00% | 2 | 100.00% |
#define nand_default_timings NULL
#endif
#if IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2)
extern void board_onenand_init(struct mtd_partition *nand_parts,
u8 nr_parts, u8 cs);
#else
static inline void board_onenand_init(struct mtd_partition *nand_parts,
u8 nr_parts, u8 cs)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
javier martinez canillas | javier martinez canillas | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
tony lindgren | tony lindgren | 63 | 31.03% | 1 | 12.50% |
javier martinez canillas | javier martinez canillas | 46 | 22.66% | 2 | 25.00% |
sukumar ghorai | sukumar ghorai | 30 | 14.78% | 2 | 25.00% |
vimal singh | vimal singh | 28 | 13.79% | 1 | 12.50% |
afzal mohammed | afzal mohammed | 20 | 9.85% | 1 | 12.50% |
manjunath kondaiah g | manjunath kondaiah g | 16 | 7.88% | 1 | 12.50% |
| Total | 203 | 100.00% | 8 | 100.00% |