From bdc4dbaefe98890cc7ec7b6aa2d4e85b086527cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Wed, 2 Mar 2022 11:49:24 +0100 Subject: [PATCH] tools: kwboot: Update usage MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add all supported Armada SoCs and document -b and -d options in usage. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Tested-by: Stefan Roese --- tools/kwboot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index 26cfe6dea6..11aca00bf1 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -1986,14 +1986,15 @@ static void kwboot_usage(FILE *stream, char *progname) { fprintf(stream, - "Usage: %s [OPTIONS] [-b | -D ] [-B ] \n", + "Usage: %s [OPTIONS] [-b | -D | -b | -d ] [-B ] [-t] \n", progname); fprintf(stream, "\n"); fprintf(stream, - " -b : boot with preamble (Kirkwood, Armada 370/XP)\n"); + " -b : boot with preamble (Kirkwood, Armada 370/XP/375/38x/39x)\n"); fprintf(stream, " -D : boot without preamble (Dove)\n"); - fprintf(stream, " -d: enter debug mode\n"); + fprintf(stream, " -b: enter xmodem boot mode\n"); + fprintf(stream, " -d: enter console debug mode\n"); fprintf(stream, " -a: use timings for Armada XP\n"); fprintf(stream, " -s : use specific response-timeout\n"); fprintf(stream, -- 2.39.5