]> code.ossystems Code Review - openembedded-core.git/commit
boot-directdisk: Fix Block Calcuation
authorSaul Wold <sgw@linux.intel.com>
Tue, 27 Mar 2012 05:42:57 +0000 (22:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Mar 2012 12:21:46 +0000 (13:21 +0100)
commit53ae1737611e10e7fef815e8fde9e22165aa1047
tree156880e7ae84944700a58373c0895d60b63fb3a8
parentfe157bb9543bbb6c9523c0feb150ae3913802379
boot-directdisk: Fix Block Calcuation

This also changes the timeout to be settable

The block calcuation was not correctly rounding, see comment

Thanks to Darren Hart for fixing this.

Cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/boot-directdisk.bbclass