summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorSimon Schwarz <simonschwarzcor@googlemail.com>2011-09-14 15:29:26 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:00:54 +0200
commitbb085b87e587b5ea98519d95c8b24f603d91360a (patch)
tree5b0a6a6b0243302d08e747c60e453e1d1aaa0537 /include/nand.h
parentb88e42560b7f6b9766faf52340638ec8b8ce1e3f (diff)
downloadu-boot-bb085b87e587b5ea98519d95c8b24f603d91360a.tar.gz
u-boot-bb085b87e587b5ea98519d95c8b24f603d91360a.tar.bz2
u-boot-bb085b87e587b5ea98519d95c8b24f603d91360a.zip
omap-common: add nand spl support
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h
index 8d94b5cbd7..3c5ef4e3c4 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -132,6 +132,9 @@ int nand_lock( nand_info_t *meminfo, int tight );
int nand_unlock( nand_info_t *meminfo, ulong start, ulong length );
int nand_get_lock_status(nand_info_t *meminfo, loff_t offset);
+void nand_spl_load_image(loff_t offs, unsigned int size, uchar *dst);
+void nand_deselect(void);
+
#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
void board_nand_select_device(struct nand_chip *nand, int chip);
#endif