bcm4356: Add option to choose between PCIe and SDIO FW
Dmitry Shmidt [Thu, 22 May 2014 22:31:34 +0000 (15:31 -0700)]
Change-Id: I1f9afe71c324dccc0e15a2b3f3dc5f733adaa657
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

bcmdhd/firmware/bcm4356/device-bcm.mk
bcmdhd/firmware/bcm4356/fw_bcm4356_ap_pcie.bin [moved from bcmdhd/firmware/bcm4356/fw_bcm4356.bin with 100% similarity, mode: 0644]
bcmdhd/firmware/bcm4356/fw_bcm4356_pcie.bin [moved from bcmdhd/firmware/bcm4356/fw_bcm4356_ap.bin with 100% similarity, mode: 0644]

index 35eac1a..43a086e 100644 (file)
 ########################
 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
 
-BCM_FW_SRC_FILE_STA := fw_bcm4356.bin
-BCM_FW_SRC_FILE_AP  := fw_bcm4356_ap.bin
+ifeq ($(strip $(WIFI_BUS)),SDIO)
+BCM_FW_SRC_FILE_STA := fw_bcm4356_sdio.bin
+BCM_FW_SRC_FILE_AP  := fw_bcm4356_ap_sdio.bin
+else
+BCM_FW_SRC_FILE_STA := fw_bcm4356_pcie.bin
+BCM_FW_SRC_FILE_AP  := fw_bcm4356_ap_pcie.bin
+endif
 
 PRODUCT_COPY_FILES += \
     hardware/broadcom/wlan/bcmdhd/firmware/bcm4356/$(BCM_FW_SRC_FILE_STA):system/vendor/firmware/fw_bcmdhd.bin \