gpt_parser: return a dict from read_headers
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 10 Apr 2013 11:12:53 +0000 (14:12 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 19 Apr 2013 13:27:40 +0000 (16:27 +0300)
commit9cfc8cee1d6c87dc13c649947c295da06761ab21
treef4cd85030a6a6d9a4dcc940972ab95a2c116ed13
parentd718139d103414305334c4d6ae2cb823e0abd1f6
gpt_parser: return a dict from read_headers

Use a dictionary instead of a tuple because it makes it possible to write more
readable code. Indeed, header['hdr_crc'] is more readable than header[3].

Change-Id: Ia488d61580a9b1d848421a6abc462870418daa34
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/utils/gpt_parser.py