Merge "msm_shared: Format debug prints for loading and booting flash targets."
diff --git a/platform/msm_shared/dev_tree.c b/platform/msm_shared/dev_tree.c
index 40f1f30..04caeb1 100644
--- a/platform/msm_shared/dev_tree.c
+++ b/platform/msm_shared/dev_tree.c
@@ -171,6 +171,8 @@
/* Get block size. */
blk_size = flash_block_size();
+ dprintf(INFO, "Add %d flash partitions to dt: start\n", ptable->count);
+
/* Need to add partitions in reverse order since libfdt adds
* new nodes on the top.
* Kernel looks to mount the partitions in the order specified in
@@ -245,6 +247,7 @@
}
dev_tree_add_ptable_nodes_err:
+ dprintf(INFO, "Add %d flash partitions to dt: done\n", ptable->count);
free(ptn_name_array);
return dt_ret;
}
diff --git a/platform/msm_shared/qpic_nand.c b/platform/msm_shared/qpic_nand.c
index fb14720..1a34a0c 100644
--- a/platform/msm_shared/qpic_nand.c
+++ b/platform/msm_shared/qpic_nand.c
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2008, Google Inc.
* All rights reserved.
- * Copyright (c) 2009-2012, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -1553,7 +1553,7 @@
{
if (count == 0)
{
- dprintf(INFO, "flash_read_image: success (%d errors)\n",
+ dprintf(SPEW, "flash_read_image: success (%d errors)\n",
errors);
return NANDC_RESULT_SUCCESS;
}