diff options
Diffstat (limited to 'include/flash.h')
| -rw-r--r-- | include/flash.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/flash.h b/include/flash.h index 02c6a0431..8b8979e2f 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(): |