From: Karl Relton Date: Wed, 19 Aug 2009 07:06:39 +0000 (+0100) Subject: Staging: wlan-ng: Convert firmware loading to load binary ihex format X-Git-Tag: v2.6.32-rc1~668^2~568 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d89505998e007f88e08e84381dcc720a8990507d;p=pandora-kernel.git Staging: wlan-ng: Convert firmware loading to load binary ihex format Convert prism2_usb firmware loading to load firmware in pre-compiled binary 'ihex' format rather than ascii 'srec' format. This moves the srec processing and sorting of records out of kernel space into a pre-compiler. The driver now just works with the binary image, but still does the 'pda plugging' of that image at runtime, as required by the prism hardware. Some Notes: - The firmware is now expected to be in the same 'ihex' (.fw) format used by other drivers. - The now driver assumes the data records are already sorted into ascending address order. - Plug and crc records are still recognised by special address locations as in original srec processing. - The srec S7 start address record is assumed to have been converted into a data record with another special address location (0xff400000), with the original start address being stored as a 4 byte data word (little endian). Signed-off-by: Karl Relton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed