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

Marek Vasut marex at denx.de
Thu Apr 11 21:19:05 CEST 2013


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


More information about the U-Boot mailing list