From: Pali Rohár Date: Thu, 17 Feb 2022 09:43:39 +0000 (+0100) Subject: tools: kwbimage: Fix help how to extract DDR3 training code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=107d587fe251b699d44ba8f077cac56d82b025a9;p=u-boot.git tools: kwbimage: Fix help how to extract DDR3 training code First binary executable header is extracted by '-p 1' argument. Signed-off-by: Pali Rohár Tested-by: Tony Dinh Reviewed-by: Stefan Roese --- diff --git a/tools/kwbimage.c b/tools/kwbimage.c index bf8ab0f192..f270dcf242 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -1115,7 +1115,7 @@ static size_t image_headersz_v1(int *hasext) fprintf(stderr, "Didn't find the file '%s' in '%s' which is mandatory to generate the image\n" "This file generally contains the DDR3 training code, and should be extracted from an existing bootable\n" - "image for your board. Use 'dumpimage -T kwbimage -p 0' to extract it from an existing image.\n", + "image for your board. Use 'dumpimage -T kwbimage -p 1' to extract it from an existing image.\n", e->binary.file, dir); return 0; }