From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add xxhash hashing support
Date: Mon, 5 Mar 2018 09:34:49 -0500 [thread overview]
Message-ID: <20180305143449.GD22474@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <1520258115-29823-1-git-send-email-dunaev@tecon.ru>
On Mon, Mar 05, 2018 at 04:55:15PM +0300, dunaev at tecon.ru wrote:
> From: Dmitry Dunaev <dunaev@tecon.ru>
Please add some comments about why we're adding this support and where
it's used.
[snip]
> common/image-fit.c | 7 ++
> include/image.h | 12 +++
> include/u-boot/xxhash.h | 143 ++++++++++++++++++++++++++
> lib/Kconfig | 8 ++
> lib/Makefile | 1 +
> lib/xxhash.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++
> tools/Makefile | 2 +
> 7 files changed, 438 insertions(+)
Please enable this for sandbox, where it should build cleanly and
without warnings. If you can add a test for it under test/py/tests/
that would be even better.
> diff --git a/include/u-boot/xxhash.h b/include/u-boot/xxhash.h
> new file mode 100644
> index 0000000..ecbeb98
> --- /dev/null
> +++ b/include/u-boot/xxhash.h
> @@ -0,0 +1,143 @@
> +/*
> + * xxHash - Extremely Fast Hash algorithm
> + * Copyright (C) 2012-2016, Yann Collet.
> + *
> + * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
[snip]
> diff --git a/lib/xxhash.c b/lib/xxhash.c
> new file mode 100644
> index 0000000..c9fe476
> --- /dev/null
> +++ b/lib/xxhash.c
> @@ -0,0 +1,265 @@
> +/*
> + * xxHash - Extremely Fast Hash algorithm
> + * Copyright (C) 2012-2016, Yann Collet.
> + *
> + * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
SPDX tag only please.
Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180305/4b46fb51/attachment.sig>
next prev parent reply other threads:[~2018-03-05 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-05 13:55 [U-Boot] [PATCH] Add xxhash hashing support dunaev at tecon.ru
2018-03-05 14:34 ` Tom Rini [this message]
2018-03-05 17:14 ` Wolfgang Denk
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=20180305143449.GD22474@bill-the-cat.ec.rr.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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