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

Marek Vasut
2013-04-11T19:19:05Z

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
> a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Why did you port it from such an ancient kernel? Newer version is not an option?

Best regards,
Marek Vasut