nand flash partition checker: summary added, minor changes in code formatting

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>