Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.
See scripts/codestyle
Modify the existing ptable code to pay attention to bio device erase
geometry if present. Significant changes include...
+ Partitions must be allocated on both program and erase block
boundaries.
+ Partitions lengths must be multiples of both program and erase block
sizes.
+ Partitions may not span non-homogeneous regions of erase geometry.
+ ptable_allocate as been made private.
+ Users may no longer explicitly select a position for partitions to
be added, they may only ask for the partition to be allocated at the
begining or the end of the block device.
+ A bio subdevice will be registered for each active partition in the
system. Users are encouraged to add their partition using
ptable_add, and then open a handle to the subdevice using bio_open.
The bio subdevice will prevent accidental scribbling outside of the
partition lines, and also advertise the partition erase size.
Signed-off-by: John Grossman <johngro@google.com>
Change-Id: I09bf9038d210ff8be42d44166ab92c789872e036
-use lib/watchdog to manage the hardware watchdog driver
-set the default timeout to 1 second, pet at 500ms intervals
Change-Id: I04d23313083e4715791e197d4a50f319df9916aa