CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
authorJonas Gorski <jogo@openwrt.org>
Sun, 23 Aug 2015 09:41:07 +0000 (09:41 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 23 Aug 2015 09:41:07 +0000 (09:41 +0000)
commit26333094db9836d0ddf490547f5adeafd527f99b
treed2a116aefe62ea572a87a4683b72fe460b574d82
parent07fca8dcc59778ae6678426b30dba0c61a1eb741
CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
Some CFEs seem to misconfigure the mapped memory flash access with
fast read but without a dummy byte, causing all accesses to be prefixed
with 0xff.
This of course breaks reading out the nvram, so do not just move back to
single i/o accessors, but also ensure that the dummy byte is correctly
set.

Backport of r46707.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46709
target/linux/brcm63xx/patches-3.18/345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch
target/linux/brcm63xx/patches-3.18/355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch
target/linux/brcm63xx/patches-3.18/372_dont_register_pflash_when_available_in_dtb.patch
target/linux/brcm63xx/patches-3.18/400-bcm963xx_flashmap.patch
target/linux/brcm63xx/patches-3.18/411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch
target/linux/brcm63xx/patches-3.18/415-MIPS-BCM63XX-export-the-attached-flash-type.patch
target/linux/brcm63xx/patches-3.18/418-MIPS-BCM63XX-pass-caldata-info-to-flash.patch
target/linux/brcm63xx/patches-3.18/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch
target/linux/brcm63xx/patches-3.18/511-board_V2500V.patch