[U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel

2013-04-10 Thread Mike Dunn
This patch adds the bitrev library from the linux kernel. This is a simple algorithm that uses an 8 bit look-up table to reverse the bits in data types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. [port from linux kernel 2.6.20 commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Re: [U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel

2013-04-12 Thread Marek Vasut
Dear Mike Dunn, > This patch adds the bitrev library from the linux kernel. This is a simple > algorithm that uses an 8 bit look-up table to reverse the bits in data > types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. > > [port from linux kernel 2.6.20 commit > a5cfc1ec58a0

Re: [U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel

2013-04-12 Thread Mike Dunn
On 04/11/2013 12:19 PM, Marek Vasut wrote: > Dear Mike Dunn, > >> This patch adds the bitrev library from the linux kernel. This is a simple >> algorithm that uses an 8 bit look-up table to reverse the bits in data >> types of 8, 16, or 32 bit widths. The docg4 nand flash driver uses it. >> >> [

Re: [U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel

2013-04-12 Thread Marek Vasut
Dear Mike Dunn, > On 04/11/2013 12:19 PM, Marek Vasut wrote: > > Dear Mike Dunn, > > > >> This patch adds the bitrev library from the linux kernel. This is a > >> simple algorithm that uses an 8 bit look-up table to reverse the bits > >> in data types of 8, 16, or 32 bit widths. The docg4 nand

Re: [U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel

2013-04-13 Thread Wolfgang Denk
Dear Mike Dunn, In message <5167f7b4.3070...@newsguy.com> you wrote: > > In this case, it's a simple algorithm and only a couple trivial changes were > made since it was first added to the kernel, so the error is probably > inconsequential, but I'll resubmit, reporting the HEAD of the kernel I too