summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/sprom.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-09-21 08:38:38 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-09-24 15:02:07 -0400
commit646e0827df85f1305eeebf2108e9daafeabe0e0d (patch)
treec67218d5a7344bb833666e167d9e1b03d556f046 /drivers/bcma/sprom.c
parentde09364eca2fc79f8585d4d476a60c6730664098 (diff)
downloadtalos-obmc-linux-646e0827df85f1305eeebf2108e9daafeabe0e0d.tar.gz
talos-obmc-linux-646e0827df85f1305eeebf2108e9daafeabe0e0d.zip
bcma: handle BCM43227
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Tested-by: Jack <x6719620@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/sprom.c')
-rw-r--r--drivers/bcma/sprom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c
index 9ea4627dc0c2..0d546b64be34 100644
--- a/drivers/bcma/sprom.c
+++ b/drivers/bcma/sprom.c
@@ -507,7 +507,9 @@ static bool bcma_sprom_onchip_available(struct bcma_bus *bus)
/* for these chips OTP is always available */
present = true;
break;
+ case BCMA_CHIP_ID_BCM43227:
case BCMA_CHIP_ID_BCM43228:
+ case BCMA_CHIP_ID_BCM43428:
present = chip_status & BCMA_CC_CHIPST_43228_OTP_PRESENT;
break;
default:
OpenPOWER on IntegriCloud