aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2010-04-20 05:26:19 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-13 20:04:34 -0400
commit010937ec9a550e2df97f87252a9d12d8a534c6d8 (patch)
tree56d6f97f9d4f7e9fe5019a13a29199741cd684c4 /arch/arm/mach-kirkwood/common.h
parenteedfea252690435858722a8da1109d104d639087 (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.h2
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;
16struct mv_sata_platform_data; 16struct mv_sata_platform_data;
17struct mvsdio_platform_data; 17struct mvsdio_platform_data;
18struct mtd_partition; 18struct mtd_partition;
19struct 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);
41void kirkwood_uart0_init(void); 42void kirkwood_uart0_init(void);
42void kirkwood_uart1_init(void); 43void kirkwood_uart1_init(void);
43void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay); 44void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay);
45void kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, int (*dev_ready)(struct mtd_info *));
44 46
45extern int kirkwood_tclk; 47extern int kirkwood_tclk;
46extern struct sys_timer kirkwood_timer; 48extern struct sys_timer kirkwood_timer;