diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-01-13 12:14:12 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-01-13 12:14:12 +0000 |
commit | 1315058bda5b83bbb7f5a08319b69240dc957f14 (patch) | |
tree | af1dd5b1e3d09785cd1a38eab91126fd7013197b /target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch | |
parent | 4aa92df0d84d7e0bbafb15111bb3baa1ae3bf1de (diff) | |
download | upstream-1315058bda5b83bbb7f5a08319b69240dc957f14.tar.gz upstream-1315058bda5b83bbb7f5a08319b69240dc957f14.tar.bz2 upstream-1315058bda5b83bbb7f5a08319b69240dc957f14.zip |
brcm63xx: fix spi flash setup on (at least) some reference boards
CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39273
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch b/target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch index 5a3c9f0914..af06428565 100644 --- a/target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch +++ b/target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch @@ -88,7 +88,7 @@ Subject: [PATCH 61/72] BCM63XX: add a fixup for ath9k devices + addr &= MPI_CSBASE_BASE_MASK; + } + -+ switch (bcm63xx_attached_flash) { ++ switch (bcm63xx_flash_get_type()) { + case BCM63XX_FLASH_TYPE_PARALLEL: + memcpy(eeprom, (void *)KSEG1ADDR(addr + offset), ATH9K_PLAT_EEP_MAX_WORDS * sizeof(u16)); + return eeprom; |