From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 4 May 2016 11:00:46 +0200 Subject: [U-Boot] [PATCH V2 2/2] mtd: cqspi: Simplify indirect read code In-Reply-To: <1462296357-5921-2-git-send-email-marex@denx.de> References: <1462296357-5921-1-git-send-email-marex@denx.de> <1462296357-5921-2-git-send-email-marex@denx.de> Message-ID: <5729BA3E.2010705@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 On 03.05.2016 19:25, Marek Vasut wrote: > The indirect read code is a pile of nastiness. This patch replaces > the whole unmaintainable indirect read implementation with the one > from upcoming Linux CQSPI driver, which went through multiple rounds > of thorough review and testing. All the patch does is it plucks out > duplicate ad-hoc code distributed across the driver and replaces it > with more compact code doing exactly the same thing. There is no > speed change of the read operation. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Jagan Teki > Cc: Pavel Machek > Cc: Stefan Roese > Cc: Vignesh R > --- > V2: Handle non-4-byte aligned transfers Reviewed-by: Stefan Roese Tested-by: Stefan Roese Thanks, Stefan