OSDN Git Service

staging: wfx: load firmware
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 19 Sep 2019 14:25:38 +0000 (14:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 08:43:39 +0000 (10:43 +0200)
commit652b4afb240e5dc196995597942309e89e89c767
tree87485071d34ff3cd36ea1a0e4a39df2fa3d6f137
parentfee695e3e30f72a18d4631b8d7589cf413282c7c
staging: wfx: load firmware

A firmware is necessary to run the chip. wfx_init_device() is in charge
of loading firmware on chip and doing low level initialization.

Firmwares for WF200 are available here:

  https://github.com/SiliconLabs/wfx-firmware/

Note that firmware are encrypted. Driver checks that key used to encrypt
firmware match with key burned into chip.

Currently, "C0" key is used for production chips.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20190919142527.31797-6-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/Makefile
drivers/staging/wfx/bus_sdio.c
drivers/staging/wfx/bus_spi.c
drivers/staging/wfx/fwio.c [new file with mode: 0644]
drivers/staging/wfx/fwio.h [new file with mode: 0644]
drivers/staging/wfx/main.c
drivers/staging/wfx/main.h
drivers/staging/wfx/wfx.h