diff options
author | Darren Hart <dvhart@linux.intel.com> | 2012-01-24 21:20:54 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-25 14:30:56 +0000 |
commit | 8f55130e6fa392a54120b63f50485dee43366a7e (patch) | |
tree | fd6a142007432feb1a52f5858e32163973e58647 /meta/recipes-devtools/tcf-agent | |
parent | 0bf6f8035cfe14dbc2b357bdc3e98d6e081561a1 (diff) | |
download | poky-8f55130e6fa392a54120b63f50485dee43366a7e.tar.gz |
bootimg: Fix a math thinko in the block count calculation
Fixes [YOCTO #1852] ... again.
The conversion from sectors to blocks was multiplying by 2 instead
of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The
result was images being much larger than intended.
Reported-by: Tom Zanussi <tom.zanussi@intel.com>
(From OE-Core rev: b35384fa3ca96b31c63d764322215abced2066e4)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcf-agent')
0 files changed, 0 insertions, 0 deletions