2
0
forked from Ivasoft/openwrt

ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips

The following patch is to add ath79_register_m25p80_large, which sets
is_flash to false to support bit banging. This is needed on some 32MB+
SPI chips, such as the S25FL256S1

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47952
This commit is contained in:
Felix Fietkau
2015-12-19 11:32:20 +00:00
parent ea1cc733af
commit 3fa85af5ad
2 changed files with 9 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include <linux/spi/flash.h>
void ath79_register_m25p80(struct flash_platform_data *pdata) __init;
void ath79_register_m25p80_large(struct flash_platform_data *pdata) __init;
void ath79_register_m25p80_multi(struct flash_platform_data *pdata) __init;
#endif /* _ATH79_DEV_M25P80_H */