Fix IHEX firmware generation/loading
authorMarc Zyngier <maz@misterjones.org>
Sat, 2 Aug 2008 17:12:23 +0000 (19:12 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 2 Aug 2008 17:36:10 +0000 (18:36 +0100)
commit85ebd00334099fd5d296bcae74a66c943d46686d
tree07f799155fd03f15606e7c49a7d6547fb6f18563
parentf1136d022af8f07a97f59c6d07483bdb82ffbd8e
Fix IHEX firmware generation/loading

Fix both the IHEX firmware generation (len field always null, and EOF
marker a byte too short) and loading (struct ihex_binrec needs to be
packed to reflect the on-disk structure).

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
firmware/ihex2fw.c
include/linux/ihex.h