07 Mar, 2012

2 commits

  • 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
    Tested-by: Rafal Milecki
    Tested-by: Hauke Mehrtens
    Cc: Larry Finger
    Signed-off-by: Arend van Spriel
    Signed-off-by: John W. Linville

    Arend van Spriel
     
  • When not SPROM is available a fallback mechanism is used. However,
    when that fails the code currently continues. This patch assures
    that the bcma_sprom_get() function aborts when that happens.

    Cc: Rafal Milecki
    Cc: Hauke Mehrtens
    Signed-off-by: Arend van Spriel
    Signed-off-by: John W. Linville

    Arend van Spriel
     

06 Mar, 2012

1 commit

  • On SoCs the sprom is stored in the nvram in a special partition on the
    flash chip. The nvram contains the sprom for the main bus, but
    sometimes also for a pci devices using bcma. This patch makes it
    possible for the arch code to register a function to fetch the needed
    sprom from the nvram and provide it to the bcma code.

    Signed-off-by: Hauke Mehrtens
    Signed-off-by: John W. Linville

    Hauke Mehrtens
     

07 Feb, 2012

1 commit


25 Jan, 2012

3 commits


14 Dec, 2011

2 commits


14 Sep, 2011

1 commit


23 Aug, 2011

1 commit


20 Jul, 2011

1 commit


19 Jul, 2011

1 commit


12 Jul, 2011

1 commit

  • The SoCs like the bcm4716 do not have a sprom on the bcma bus like a
    pcie device. It stores the values in some partition on flash memory.
    For ssb this informations are read out in the bcm47xx arch code,
    something like that should also be implemented for bcma. Without this
    patch bcma panics on SoCs.

    Signed-off-by: Hauke Mehrtens
    Signed-off-by: John W. Linville

    Hauke Mehrtens
     

04 Jun, 2011

1 commit

  • In case of BCMA cards SPROM is located in the ChipCommon core, it is
    not mapped as separated host window. So far we have met only SPROMs rev
    8.
    SPROM layout seems to be the same as for SSB buses, so we decided to
    share SPROM struct and some defines.
    For now we extract MAC address only, this can be improved of course.

    Signed-off-by: Rafał Miłecki
    Signed-off-by: John W. Linville

    Rafał Miłecki