• Carlo Caione's avatar
    brcm/ap*: Setup for different boards/transceivers/firmwares · 5b17f45e
    Carlo Caione authored
    The current Broadcom FullMAC driver embedded in the S905X linux kernel
    needs at configuration time the location of the firmware and NVRAM
    file. This is a problem when we have two different boards equipped with
    two different broadcom chipsets using the same driver + kernel
    configuration, like for TCL and ProConcept/AP boards.
    
    In this situation each board (actaully the brcm driver) needs at least a
    set of three board-specific files:
    
    1) Firmware data
    2) Config file
    3) NVRAM file
    
    We can actually force the brcm driver to automatically search for the
    correct set (naming) of files.
    
    a) Firmware data: if the driver defines FW_PATH_AUTO_SELECT, the
    firmware file name is automatically generated using the initial
    information on the transceiver and the file location (directory) can be
    specified by CONFIG_BCMDHD_FW_PATH
    
    b) Config file: if the driver defines CONFIG_PATH_AUTO_SELECT again the
    config file name is determined by the chip id and the location
    (directory) is determined by CONFIG_BCMDHD_NVRAM_PATH
    
    c) NVRAM: in this case explicitly specifying a NVRAM file in the config
    file has higher priority over CONFIG_BCMDHD_NVRAM_PATH. This means that
    we can specify the path of the NVRAM file using the 'nv_by_chip='
    parameter in the config file.
    
    What we are doing with this patch is linking all the board-specific
    file into the general directory /lib/firmware/brcm/ and with a kernel
    patch we are going to make both CONFIG_BCMDHD_FW_PATH and
    CONFIG_BCMDHD_NVRAM_PATH pointing here. The driver modified with the
    correct defines will be able to pickup from here the correct files it
    needs.
    Signed-off-by: default avatarCarlo Caione <carlo@endlessm.com>
    5b17f45e
Name
Last commit
Last update
..
ap6212 Loading commit data...
ap6255 Loading commit data...
ap6356s Loading commit data...
BCM-0bb4-0306.hcd Loading commit data...
BCM43341B0.hcd Loading commit data...
bcm4329-fullmac-4.bin Loading commit data...
bcm43xx-0.fw Loading commit data...
bcm43xx_hdr-0.fw Loading commit data...
brcmfmac43143-sdio.bin Loading commit data...
brcmfmac43143.bin Loading commit data...
brcmfmac43236b.bin Loading commit data...
brcmfmac43241b0-sdio.bin Loading commit data...
brcmfmac43241b4-sdio.bin Loading commit data...
brcmfmac43241b5-sdio.bin Loading commit data...
brcmfmac43242a.bin Loading commit data...
brcmfmac4329-sdio.bin Loading commit data...
brcmfmac4330-sdio.Prowise-PT301.txt Loading commit data...
brcmfmac4330-sdio.bin Loading commit data...
brcmfmac4334-sdio.bin Loading commit data...
brcmfmac43340-sdio.bin Loading commit data...
brcmfmac43340-sdio.meegopad-t08.txt Loading commit data...
brcmfmac43340-sdio.pov-tab-p1006w-data.txt Loading commit data...
brcmfmac43340-sdio.txt Loading commit data...
brcmfmac4335-sdio.bin Loading commit data...
brcmfmac43362-sdio.bin Loading commit data...
brcmfmac43362-sdio.cubietech,cubietruck.txt Loading commit data...
brcmfmac43362-sdio.lemaker,bananapro.txt Loading commit data...
brcmfmac4339-sdio.bin Loading commit data...
brcmfmac43430-sdio.AP6212.txt Loading commit data...
brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt Loading commit data...
brcmfmac43430-sdio.MUR1DX.txt Loading commit data...
brcmfmac43430-sdio.bin Loading commit data...
brcmfmac43430-sdio.raspberrypi,3-model-b.txt Loading commit data...
brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt Loading commit data...
brcmfmac43430a0-sdio.bin Loading commit data...
brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt Loading commit data...
brcmfmac43455-sdio.MINIX-NEO Z83-4.txt Loading commit data...
brcmfmac43455-sdio.bin Loading commit data...
brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt Loading commit data...
brcmfmac43455-sdio.raspberrypi,4-model-b.txt Loading commit data...
brcmfmac43455-sdio.txt Loading commit data...
brcmfmac4350-pcie.bin Loading commit data...
brcmfmac4350c2-pcie.bin Loading commit data...
brcmfmac4354-sdio.bin Loading commit data...
brcmfmac4356-pcie.bin Loading commit data...
brcmfmac4356-pcie.gpd-win-pocket.txt Loading commit data...
brcmfmac4356-sdio.bin Loading commit data...
brcmfmac43569.bin Loading commit data...
brcmfmac43570-pcie.bin Loading commit data...
brcmfmac4358-pcie.bin Loading commit data...
brcmfmac43602-pcie.ap.bin Loading commit data...
brcmfmac43602-pcie.bin Loading commit data...
brcmfmac4366b-pcie.bin Loading commit data...
brcmfmac4366c-pcie.bin Loading commit data...
brcmfmac4371-pcie.bin Loading commit data...
brcmfmac4373-sdio.bin Loading commit data...
brcmfmac4373.bin Loading commit data...
config_43455c0.txt Loading commit data...
config_4356a2.txt Loading commit data...
fw_bcm43455c0_ag.bin Loading commit data...
fw_bcm4356a2_ag.bin Loading commit data...
nvram_43455c0.txt Loading commit data...
nvram_4356a2.txt Loading commit data...