OSDN Git Service

wimax/i2400m: use JUMP cmd for last FW chunk indication
authorCindy H Kao <cindy.h.kao@intel.com>
Sat, 3 Oct 2009 02:18:43 +0000 (19:18 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:56:15 +0000 (15:56 +0900)
commit6f4fc90a36fbe87e3003b3f7c8090ecc89bd1353
tree9c782cc91f7a374b45bf3ec8c59637cd0a4b4d01
parent81d3f905389e22bb9a5176b9309c3f451c260e1a
wimax/i2400m: use JUMP cmd for last FW chunk indication

Both secure and non-secure boot must set the JUMP command in the
bootmode header as the last FW chunk, so we change to use the JUMP
command to decide if the FW chunk download is completed.

Since we tend to use one single FW to support both secure and non-secure
boot for most of the time, I2400M_BRH_SIGNED_JUMP is actually found
even for non-secure boot. But in case the FW does come with
I2400M_BRH_JUMP, we check for both of them in i2400m_dnload_bcf().

Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/fw.c