diff options
author | Ben Dooks <ben@simtec.co.uk> | 2010-04-20 05:26:19 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-13 20:04:34 -0400 |
commit | 010937ec9a550e2df97f87252a9d12d8a534c6d8 (patch) | |
tree | 56d6f97f9d4f7e9fe5019a13a29199741cd684c4 /arch/arm/mach-kirkwood/common.h | |
parent | eedfea252690435858722a8da1109d104d639087 (diff) |
mtd: kirkwood: allow machines to register RnB callback
Add a kirkwood_nand_init_rnb() call to allow boards which
have RnB line detection to register this instead of a
static delay.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r-- | arch/arm/mach-kirkwood/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h index d7de43464358..05e8a8a5692e 100644 --- a/arch/arm/mach-kirkwood/common.h +++ b/arch/arm/mach-kirkwood/common.h | |||
@@ -16,6 +16,7 @@ struct mv643xx_eth_platform_data; | |||
16 | struct mv_sata_platform_data; | 16 | struct mv_sata_platform_data; |
17 | struct mvsdio_platform_data; | 17 | struct mvsdio_platform_data; |
18 | struct mtd_partition; | 18 | struct mtd_partition; |
19 | struct mtd_info; | ||
19 | 20 | ||
20 | /* | 21 | /* |
21 | * Basic Kirkwood init functions used early by machine-setup. | 22 | * Basic Kirkwood init functions used early by machine-setup. |
@@ -41,6 +42,7 @@ void kirkwood_i2c_init(void); | |||
41 | void kirkwood_uart0_init(void); | 42 | void kirkwood_uart0_init(void); |
42 | void kirkwood_uart1_init(void); | 43 | void kirkwood_uart1_init(void); |
43 | void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay); | 44 | void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay); |
45 | void kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, int (*dev_ready)(struct mtd_info *)); | ||
44 | 46 | ||
45 | extern int kirkwood_tclk; | 47 | extern int kirkwood_tclk; |
46 | extern struct sys_timer kirkwood_timer; | 48 | extern struct sys_timer kirkwood_timer; |