projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfi: make flash_get_info() non static
[platform/kernel/u-boot.git]
/
include
/
flash.h
diff --git
a/include/flash.h
b/include/flash.h
index
02c6a04
..
8b8979e
100644
(file)
--- 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():