mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: "U-Boot Version 2 (barebox)" <barebox@lists.infradead.org>
Subject: Re: is it "crc" or "crc32"?
Date: Mon, 7 Jul 2014 14:41:05 +0800	[thread overview]
Message-ID: <318A52B2-7D3C-4FE8-8E79-0653271A6233@jcrosoft.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1407061724590.20386@localhost>


On Jul 7, 2014, at 5:27 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:

> 
> 
>  the source file commands/crc.c has a very confusing tail end, which
> generates two partial entries for the sphinx docs:
> 
> BAREBOX_CMD_HELP_START(crc)
this is just the struct name
> BAREBOX_CMD_HELP_TEXT("Calculate a CRC32 checksum of a memory area.")
> BAREBOX_CMD_HELP_TEXT("")
> BAREBOX_CMD_HELP_TEXT("Options:")
> BAREBOX_CMD_HELP_OPT ("-f FILE", "Use file instead of memory.")
> #ifdef CONFIG_CMD_CRC_CMP
> BAREBOX_CMD_HELP_OPT ("-F FILE", "Use file to compare.")
> #endif
> BAREBOX_CMD_HELP_OPT ("-v CRC",  "Verify")
> BAREBOX_CMD_HELP_OPT ("-V FILE", "Verify with CRC read from FILE")
> BAREBOX_CMD_HELP_END
> 
> BAREBOX_CMD_START(crc32)   <-- ????
> 
>  the first command definition refers to "crc", but the second one
> refers to "crc32". is that correct? what does it mean?

its crc32
> 
> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                        http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-07-07  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06 21:27 Robert P. J. Day
2014-07-07  6:41 ` Jean-Christophe PLAGNIOL-VILLARD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=318A52B2-7D3C-4FE8-8E79-0653271A6233@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=rpjday@crashcourse.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox