diff options
author | Pali Rohár <pali@kernel.org> | 2022-02-17 10:43:39 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-02-17 14:17:07 +0100 |
commit | 107d587fe251b699d44ba8f077cac56d82b025a9 (patch) | |
tree | f2ef26edee22b91025ae446f5183d0f4ec536e57 /tools | |
parent | a6661a0ea26c6747e7b4639ec5950a5fff370711 (diff) | |
download | u-boot-107d587fe251b699d44ba8f077cac56d82b025a9.tar.gz u-boot-107d587fe251b699d44ba8f077cac56d82b025a9.tar.bz2 u-boot-107d587fe251b699d44ba8f077cac56d82b025a9.zip |
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 <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kwbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |