ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:32:20 +0000 (11:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:32:20 +0000 (11:32 +0000)
commit3440084528e7fb0a37f31871221273430c9e4207
tree44633dc74b81db46ab4029f138378efee321ee33
parent06136601edb130f36cb6440233905b95a40de2f3
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
target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c
target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.h