From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 11 Apr 2013 21:19:05 +0200 Subject: [U-Boot] [PATCH v2 5/7] lib: import bitrev library from the linux kernel In-Reply-To: <1365641128-15812-6-git-send-email-mikedunn@newsguy.com> References: <1365641128-15812-1-git-send-email-mikedunn@newsguy.com> <1365641128-15812-6-git-send-email-mikedunn@newsguy.com> Message-ID: <201304112119.05640.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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