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)
commit3fa85af5add3eea8a7c2bbceb89988d660a17579
treede105dd9ce6c004ed0bdcafb16227984e9665956
parentea1cc733af1248cc453660ae054cb8b77b456df9
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