summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-02-11 22:24:51 +0100
committerWolfgang Denk <wd@denx.de>2009-02-11 22:24:51 +0100
commitc50a6031670a90f799835db7bc1638a3e2a9f1f0 (patch)
tree01ce596bae07afb0c76f6e2e26aa17e4e3f2ca0c /include
parent86321fc1128c93a10ac4afb9d317b0df8ece0f9e (diff)
parent4f975678de995b55749d5e84590c268972a7c835 (diff)
downloadu-boot-imx-c50a6031670a90f799835db7bc1638a3e2a9f1f0.zip
u-boot-imx-c50a6031670a90f799835db7bc1638a3e2a9f1f0.tar.gz
u-boot-imx-c50a6031670a90f799835db7bc1638a3e2a9f1f0.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Diffstat (limited to 'include')
-rw-r--r--include/flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 02c6a04..8b8979e 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -124,6 +124,9 @@ extern int jedec_flash_match(flash_info_t *info, ulong base);
#define CFI_CMDSET_AMD_LEGACY 0xFFF0
#endif
+#if defined(CONFIG_SYS_FLASH_CFI)
+extern flash_info_t *flash_get_info(ulong base);
+#endif
/*-----------------------------------------------------------------------
* return codes from flash_write():