From: Vasundhara Volam Date: Fri, 30 May 2014 13:36:25 +0000 (+0530) Subject: be2net: support flashing new regions on Skyhawk-R X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~121^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96c9b2e45e0f6bb5889cdc11805d00b364f00158;p=pandora-kernel.git be2net: support flashing new regions on Skyhawk-R Certain new flash regions have been added to Skyhawk-R FW image. The newer FW images specify op_types for each region. A region is flashed only when it's CRC doesn't match that of the region on the HW flash. While upgrading to a new FW image the driver is expected to tolerate certain errors. This patch re-factors code under be_flash() to support the above scheme. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed