Re: [PATCH] bcma: use fallback sprom if no on chip sprom isavailable

From: Arend van Spriel
Date: Mon Apr 16 2012 - 05:01:37 EST


On 04/14/2012 02:38 PM, Hauke Mehrtens wrote:
bcma should check for a fallback sprom every time it can not find a
sprom on the card itself or a normal external sprom mapped into the
memory of the chip. When otp sprom support was introduced it tried to
read out the sprom from the wireless chip also if no otp sprom was
available. This caused a Data bus error in bcma_sprom_get() when
reading out the sprom for the SoC.

This fixes a regression introduced in commit:

commit 10d8493cd9efd38b1947b7a74276dbdc8311aa1a
Author: Arend van Spriel<arend@xxxxxxxxxxxx>
Date: Tue Mar 6 15:50:48 2012 +0100

bcma: add support for on-chip OTP memory used for SPROM storage

This patch was tested on a Netgear WNDR3400 (Broadcom BCM4718 SoC).

Reported-by: Nick Bowler<nbowler@xxxxxxxxxxxxxxxx>

Acked-by: Arend van Spriel <arend@xxxxxxxxxxxx>

Signed-off-by: Hauke Mehrtens<hauke@xxxxxxxxxx>

Thanks for fixing this. I really need to get my bcm4718 soc up and running ;-)

Gr. AvS

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/