brcm63xx: ensure dummy byte is set for mapped spi flash with fast read
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Aug 2015 09:35:56 +0000 (09:35 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Aug 2015 09:35:56 +0000 (09:35 +0000)
commitfad3dbb100f0225c312c37fc1ea63cc920e59dbb
tree8280a38c26b291cc326a070a0b2ecbcef4fbd593
parentf6527c2260f1daa306d51571e28b67821f00c486
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.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46707 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 files changed:
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
target/linux/brcm63xx/patches-4.1/345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch
target/linux/brcm63xx/patches-4.1/355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch
target/linux/brcm63xx/patches-4.1/372_dont_register_pflash_when_available_in_dtb.patch
target/linux/brcm63xx/patches-4.1/400-bcm963xx_flashmap.patch
target/linux/brcm63xx/patches-4.1/411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch
target/linux/brcm63xx/patches-4.1/415-MIPS-BCM63XX-export-the-attached-flash-type.patch
target/linux/brcm63xx/patches-4.1/418-MIPS-BCM63XX-pass-caldata-info-to-flash.patch
target/linux/brcm63xx/patches-4.1/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch
target/linux/brcm63xx/patches-4.1/511-board_V2500V.patch