From 1315058bda5b83bbb7f5a08319b69240dc957f14 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 13 Jan 2014 12:14:12 +0000 Subject: 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 SVN-Revision: 39273 --- .../patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/brcm63xx/patches-3.10/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch') 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; -- cgit v1.2.3