Skip to content

Commit

Permalink
net: wireless: rockchip_wlan: modify firmware path to /lib/firmware/b…
Browse files Browse the repository at this point in the history
…rcm (armbian#119)

Signed-off-by: Ken Wang <[email protected]>
  • Loading branch information
Ken-Vamrs authored and RadxaStephen committed Jul 3, 2023
1 parent b1b1494 commit 6b1d5d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -9034,8 +9034,8 @@ unsigned short cis_device = 0;
char fw_path[1024] = {0};
char nv_path[1024] = {0};

#define DEFAULT_BCMDHD_FW_PATH "/vendor/etc/firmware/"
#define DEFAULT_BCMDHD_NVRAM_PATH "/vendor/etc/firmware/"
#define DEFAULT_BCMDHD_FW_PATH "/lib/firmware/brcm/"
#define DEFAULT_BCMDHD_NVRAM_PATH "/lib/firmware/brcm/"

#define FW_CYW43364 "fw_cyw43364.bin"
#define FW_CYW43438 "fw_cyw43438.bin"
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/wireless/rockchip_wlan/rkwifi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ config PCIEASPM_ROCKCHIP_WIFI_EXTENSION
config BCMDHD_FW_PATH
depends on BCMDHD
string "Firmware path"
default "/vendor/etc/firmware/fw_bcmdhd.bin"
default "/lib/firmware/brcm/fw_bcmdhd.bin"
help
Path to the firmware file.

config BCMDHD_NVRAM_PATH
depends on BCMDHD
string "NVRAM path"
default "/vendor/etc/firmware/nvram.txt"
default "/lib/firmware/brcm/nvram.txt"
help
Path to the calibration file.a

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ config BCMDHD_INDEP_POWER
config BCMDHD_FW_PATH
depends on BCMDHD
string "Firmware path"
default "/vendor/etc/firmware/fw_bcmdhd.bin"
default "/lib/firmware/brcm/fw_bcmdhd.bin"
help
Path to the firmware file.

config BCMDHD_NVRAM_PATH
depends on BCMDHD
string "NVRAM path"
default "/vendor/etc/firmware/nvram.txt"
default "/lib/firmware/brcm/nvram.txt"
help
Path to the calibration file.

Expand Down

0 comments on commit 6b1d5d4

Please sign in to comment.