Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-20 Thread Simon Glass
Hi Tom, On Mon, Feb 18, 2013 at 2:45 PM, Tom Rini wrote: > On Mon, Feb 18, 2013 at 09:06:01AM -0800, Simon Glass wrote: >> Hi Wolfgang, >> >> On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: >> > Dear Tom, >> > >> > In message <51216721.1010...@ti.com> you wrote: >> >> >> >> There's another

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Simon Glass
Hi Tom, On Mon, Feb 18, 2013 at 2:45 PM, Tom Rini wrote: > On Mon, Feb 18, 2013 at 09:06:01AM -0800, Simon Glass wrote: >> Hi Wolfgang, >> >> On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: >> > Dear Tom, >> > >> > In message <51216721.1010...@ti.com> you wrote: >> >> >> >> There's another

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > > -> bloat-o-meter u-boot-before u-boot > > What board is this please? That was TQM5200S > This is the generic hashing command. What is happening here is that > the crc32 command is getting a few more features, more like sha1sum. > However, this might no

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Tom Rini
On Mon, Feb 18, 2013 at 09:06:01AM -0800, Simon Glass wrote: > Hi Wolfgang, > > On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: > > Dear Tom, > > > > In message <51216721.1010...@ti.com> you wrote: > >> > >> There's another thread I don't have yet (and I don't have this one in > >> gmail ye

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Simon Glass
Hi Wolfgang, On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: > Dear Tom, > > In message <51216721.1010...@ti.com> you wrote: >> >> There's another thread I don't have yet (and I don't have this one in >> gmail yet even). But, I am OK with custodians using their repos, but >> not the master

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/18/2013 11:36 AM, Simon Glass wrote: > Hi Wolfgang, > > On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: >> Dear Tom, >> >> In message <51216721.1010...@ti.com> you wrote: >>> >>> There's another thread I don't have yet (and I don't have

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Simon Glass
Hi Wolfgang, On Mon, Feb 18, 2013 at 3:35 AM, Wolfgang Denk wrote: > Dear Tom, > > In message <51216721.1010...@ti.com> you wrote: >> >> There's another thread I don't have yet (and I don't have this one in >> gmail yet even). But, I am OK with custodians using their repos, but >> not the master

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-18 Thread Wolfgang Denk
Dear Tom, In message <51216721.1010...@ti.com> you wrote: > > There's another thread I don't have yet (and I don't have this one in > gmail yet even). But, I am OK with custodians using their repos, but > not the master branch, for unrelated but otherwise good patches. I'm > also fine with patchw

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2013 03:53 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > > you wrote: >> On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass >> wrote: >>> Add the CRC32 algorithm to the list of available hashes, and >>> make the crc32 command use

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Simon Glass
Hi Wolfgang, On Sun, Feb 17, 2013 at 12:53 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass wrote: >> > Add the CRC32 algorithm to the list of available hashes, and make >> > the crc32 command use hash_command(). Add a

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass wrote: > > Add the CRC32 algorithm to the list of available hashes, and make > > the crc32 command use hash_command(). Add a new crc32_wd_buf() to > > make this possible, which puts its result in a buffer ra

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-15 Thread Simon Glass
On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass wrote: > Add the CRC32 algorithm to the list of available hashes, and make > the crc32 command use hash_command(). Add a new crc32_wd_buf() to > make this possible, which puts its result in a buffer rather than > returning it as a 32-bit value. > > Sig

[U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2012-12-26 Thread Simon Glass
Add the CRC32 algorithm to the list of available hashes, and make the crc32 command use hash_command(). Add a new crc32_wd_buf() to make this possible, which puts its result in a buffer rather than returning it as a 32-bit value. Signed-off-by: Simon Glass --- common/cmd_mem.c | 73 ---