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)
commit47a6648245f6315263845bb4463c4226fa4a0b30
treed2a116aefe62ea572a87a4683b72fe460b574d82
parent05f49c372e250b4c90246736b71f9debd850c263
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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46709 3c298f89-4303-0410-b956-a3cf2f4a3e73
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