]> git.karo-electronics.de Git - linux-beck.git/commit
bcma: add support for on-chip OTP memory used for SPROM storage
authorArend van Spriel <arend@broadcom.com>
Tue, 6 Mar 2012 14:50:48 +0000 (15:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:18 +0000 (15:16 -0500)
commit10d8493cd9efd38b1947b7a74276dbdc8311aa1a
tree69caa6570a2582667783dd03c8ce5c204881f398
parent4ac887cfdad909f16ee1886fe4fa19b452fc7fd3
bcma: add support for on-chip OTP memory used for SPROM storage

Wireless Broadcom chips can have either their SPROM data stored
on either external SPROM or on-chip OTP memory. Both are accessed
through the same register space. This patch adds support for the
on-chip OTP memory.

Tested with:
BCM43224 OTP and SPROM
BCM4331 SPROM
BCM4313 OTP

This patch is in response to linux-wireless thread [1].

[1] http://article.gmane.org/gmane.linux.kernel.wireless.general/85426

Tested-by: Saul St. John <saul.stjohn@gmail.com>
Tested-by: Rafal Milecki <zajec5@gmail.com>
Tested-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c
include/linux/bcma/bcma_driver_chipcommon.h