[brcm63xx] fix SPI message control handling for BCM6338/6348
authorFlorian Fainelli <florian@openwrt.org>
Sun, 17 Jun 2012 16:17:29 +0000 (16:17 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 17 Jun 2012 16:17:29 +0000 (16:17 +0000)
commitffa83cc2dc9f4226fc529599c24761ad414cf919
treeab78b31e2a8b3061e8e66012ae64fc9cab965bee
parent3e2e8e81dac6e02785a4bfd8f7a16419d4a69b82
[brcm63xx] fix SPI message control handling for BCM6338/6348

BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32409 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm63xx/patches-3.3/016-spi-bcm63xx-fix-bcm6348-38.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.3/103-MIPS-BCM63XX-add-TRNG-peripheral-definitions.patch
target/linux/brcm63xx/patches-3.3/311-MIPS-BCM63XX-add-MISC-register-set-definition.patch
target/linux/brcm63xx/patches-3.3/316-MIPS-BCM63XX-Add-PCIe-register-set-definitions.patch
target/linux/brcm63xx/patches-3.3/419-SPI-MIPS-BCM63XX-Add-HS-SPI-driver.patch