bmaptool: fix flashing speed calculation
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 12 Nov 2012 12:12:46 +0000 (14:12 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 12 Nov 2012 12:12:46 +0000 (14:12 +0200)
commit9b84e1f109203aadd746c368c9574ce940ecd2eb
treecefe916b4c518d136489f840df40fe765f4aa42a
parent6f6a1450fbe9db728907c5a11c11cffa970d10bc
bmaptool: fix flashing speed calculation

We write 'mapped_size' amount of data, not the entire image, so use the correct
variable when calculating the flashing speed.

Change-Id: I68a7eb597c3e29e4c4795ca907d13cdb466e5363
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool