DHDOFILES = aiutils.o bcmsdh_sdmmc_linux.o dhd_linux.o siutils.o bcmutils.o \
dhd_linux_sched.o bcmwifi.o dhd_sdio.o bcmevent.o dhd_bta.o hndpmu.o \
bcmsdh.o dhd_cdc.o bcmsdh_linux.o dhd_common.o linux_osl.o wl_iw.o \
- bcmsdh_sdmmc.o dhd_custom_gpio.o sbutils.o wldev_common.o wl_android.o
+ bcmsdh_sdmmc.o dhd_custom_gpio.o sbutils.o wldev_common.o wl_android.o fw_path.o
obj-$(CONFIG_RKWIFI) += bcmdhd.o
bcmdhd-objs += $(DHDOFILES)
--- /dev/null
+//\r
+// fw_path.c\r
+//\r
+\r
+#include <typedefs.h>\r
+#include <linuxver.h>\r
+#include <osl.h>\r
+\r
+extern char fw_path[];\r
+extern char nv_path[];\r
+\r
+void set_firmware_path(void)\r
+{\r
+#ifdef CONFIG_RK903\r
+ strcpy(fw_path, "/system/etc/firmware/fw_RK903.bin");\r
+ strcpy(nv_path, "/system/etc/firmware/nvram_RK903.txt");\r
+ return;\r
+#endif \r
+\r
+#ifdef CONFIG_RK901\r
+ strcpy(fw_path, "/system/etc/firmware/fw_RK901.bin");\r
+ strcpy(nv_path, "/system/etc/firmware/nvram_RK901.txt");\r
+ return;\r
+#endif \r
+\r
+#ifdef CONFIG_BCM4330\r
+ strcpy(fw_path, "/system/etc/firmware/fw_bcm4330.bin");\r
+ strcpy(nv_path, "/system/etc/firmware/nvram_4330.txt");\r
+ return;\r
+#endif \r
+}\r
/*
* Broadcom BCM4330 driver version.
*/
-#define BCMDHD_DRV_VERSION "4.00"
+#define BCMDHD_DRV_VERSION "4.01"
/* Set INIT_COUNTRY_CODE
* "US" ---> 11 channels, this is default setting.