From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0E54C433EF for ; Thu, 7 Oct 2021 14:19:54 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E6E5610CC for ; Thu, 7 Oct 2021 14:19:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4E6E5610CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 375B9835E4; Thu, 7 Oct 2021 16:15:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1633616131; bh=lqHOx5kBasoLQ3cq1Gl8+1E1qmSM7ZH9iHFYqDypxWU=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=Fc4DVT5Asnfv7/hBIpzPWqPKiIp6egrS18B+EWTFG6nUWz4xPAzi5rJh991JuzBBP NdG0p3fBS60w0VWanidldh7ZTnJYC+ofQTMJcbEZG51b2TMAEw17l0CSMVXwniotAn YUlhPCCc4D0B07TCrpbqqUtfa+pUvMzZrxthEn67JmHcQJFKekDJiRF8Lh89C87KSx /a2p85rnO+y9W4Bj48aMyXLa7sSKxxxDPCLGm7I5q17lgCaqxweBFcl9aijQ0mJrGV 5UlXHEsRRyDQqSNT0l5bhukedxyQZ5IS5xNZ50s/rqN9Ny3sIKO6528254a94UDMR5 T05hVo9m0iofw== Received: by phobos.denx.de (Postfix, from userid 109) id 35CE3835AA; Thu, 7 Oct 2021 16:14:40 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 51697835BA for ; Thu, 7 Oct 2021 16:14:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HQCxk064Fz1qwxy; Thu, 7 Oct 2021 16:14:34 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HQCxj6zXkz1qqkF; Thu, 7 Oct 2021 16:14:33 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id blvYA0EXcnT1; Thu, 7 Oct 2021 16:14:33 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Thu, 7 Oct 2021 16:14:33 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Ye Li X-Patchwork-Id: 1517672 X-Patchwork-Delegate: sbabic@denx.de To: Ye Li ,U-Boot@lists.denx.de Subject: [PATCH] mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset In-reply-to: <1629192287-64217-1-git-send-email-ye.li@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20211007141440.35CE3835AA@phobos.denx.de> Date: Thu, 7 Oct 2021 16:14:34 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean > Since the mxs_nand_spl has implemented adjust read offset in > nand_spl_load_image, so we don't need to check the bad block in > nand_spl_adjust_offset. Directly return the offset to continue > read by nand_spl_load_image. > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================