public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH][v3] driver: misc: debug server: Update Error message
@ 2015-08-10 14:33 Prabhakar Kushwaha
  2015-09-02  2:47 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2015-08-10 14:33 UTC (permalink / raw)
  To: u-boot

Append "debug server FW" in error message to make more informative.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
---
Changes for v2: Incorporated Bhupesh's review comments
Changes for v3: Corrected description

 drivers/misc/fsl_debug_server.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/misc/fsl_debug_server.c b/drivers/misc/fsl_debug_server.c
index 44cd9b9..a592891 100644
--- a/drivers/misc/fsl_debug_server.c
+++ b/drivers/misc/fsl_debug_server.c
@@ -60,29 +60,29 @@ int debug_server_parse_firmware_fit_image(const void **raw_image_addr,
 	/* Check if Image is in FIT format */
 	format = genimg_get_format(fit_hdr);
 	if (format != IMAGE_FORMAT_FIT) {
-		printf("Error! Not a FIT image\n");
+		printf("Debug Server FW: Not a FIT image\n");
 		goto out_error;
 	}
 
 	if (!fit_check_format(fit_hdr)) {
-		printf("Error! Bad FIT image format\n");
+		printf("Debug Server FW: Bad FIT image format\n");
 		goto out_error;
 	}
 
 	node_offset = fit_image_get_node(fit_hdr, uname);
 	if (node_offset < 0) {
-		printf("Error! Can not find %s subimage\n", uname);
+		printf("Debug Server FW:Can not find %s subimage\n", uname);
 		goto out_error;
 	}
 
 	/* Verify Debug Server firmware image */
 	if (!fit_image_verify(fit_hdr, node_offset)) {
-		printf("Error! Bad Debug Server firmware hash");
+		printf("Debug Server FW: Bad Debug Server firmware hash");
 		goto out_error;
 	}
 
 	if (fit_get_desc(fit_hdr, node_offset, &desc) < 0) {
-		printf("Error! Failed to get Debug Server fw description");
+		printf("Debug Server FW: Failed to get FW description");
 		goto out_error;
 	}
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH][v3] driver: misc: debug server: Update Error message
  2015-08-10 14:33 [U-Boot] [PATCH][v3] driver: misc: debug server: Update Error message Prabhakar Kushwaha
@ 2015-09-02  2:47 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-09-02  2:47 UTC (permalink / raw)
  To: u-boot



On 08/10/2015 09:33 AM, Prabhakar Kushwaha wrote:
> Append "debug server FW" in error message to make more informative.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> Reviewed-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
> ---
> Changes for v2: Incorporated Bhupesh's review comments
> Changes for v3: Corrected description
> 
>
Applied to fsl-qoriq master branch. Awaiting upstream.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-02  2:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 14:33 [U-Boot] [PATCH][v3] driver: misc: debug server: Update Error message Prabhakar Kushwaha
2015-09-02  2:47 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox