Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1497230imm; Fri, 6 Jul 2018 00:54:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctncy+nGkunAUz+JPtmGiJ8XS+fRE5DIY/Nob+p/RJrX+NJXiDYBAoHUGUjVbNhrdul/Z1 X-Received: by 2002:a17:902:2864:: with SMTP id e91-v6mr9120343plb.240.1530863689469; Fri, 06 Jul 2018 00:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530863689; cv=none; d=google.com; s=arc-20160816; b=1IMQFS2olmrN30mm/uvhXjUfAis0e2cr88Q35uvTqyFJHsygf762SQZQEEODp9GrEa yZmUPj5pEJSIiAUhvomxBJGetsZ5ZNtuMPV/Hodh51d/9Cd1SWXtH0LQKOZPeahwJVIW rt+8U9ZlgxA+gC5PI7SqxXTHpmsb+jfCyvN5faYG4exK87NpwNf94/fBXujrsM+EQa40 YaCoF1U3PeKIxUtj8c1FQ2COu12zmZo2WnSfcvLhcah56KKtvGQMrkYHBuqZ9XD9DkvV j2/PxL0qTwW7dJh/uqaZroe9dUHbUWDCpDKRAiwvSl5VbGFihqWj+gm3a36klEiQWiyv JI2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=aXrnHkUk2w394jHkTCcW0IEfTevBmbJK3LgeV0QaRN4=; b=LIDtpRyb1d9IR9CBRWgRaghAnlWfSB43QwF946AyBBjSBY2/cMrEN9Wy7Mvps2UTqY Is01HV/8kskdHFIo8FoXFq+O24FQeQ0lUYON58NS55mBYgwxFMgr0dk9AbMrP6EGqdmO N8drT0zX5gI6T8H0+QeCkrGnaa/8aBOT7dSvnTAFSMP74JpHl5ycnySdX2sws1wFQh7w r1uEwUmHWrWqZZJn3QgE16uYpw+Djf1IXY5v7R82tpWOF8MHVeirE35ZdvMwU1C0K6NP lcXFgwvuW0mv5ArPGcS7MFtjogcUhr6tqcRL2y/ZvsXkROhOBVmnaYB/GTV+cnkgdngz o5tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=cxku8iuJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=eaGY6ICP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si7973773plc.173.2018.07.06.00.54.34; Fri, 06 Jul 2018 00:54:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=cxku8iuJ; dkim=pass header.i=@codeaurora.org header.s=default header.b=eaGY6ICP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180AbeGFHwv (ORCPT + 99 others); Fri, 6 Jul 2018 03:52:51 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34296 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753535AbeGFHwX (ORCPT ); Fri, 6 Jul 2018 03:52:23 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 860A9601D9; Fri, 6 Jul 2018 07:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530863542; bh=dJasHm6jVyPBZCK5L8nD3D+kdovnWNp1sWzzcT78yHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cxku8iuJml3SUfnJrK0zIEhh3nHa62EFGl0xvQyF1BBLP8MVKOowQEwK7TPrpFjju Iz2Z6IxoSFNA/SkHqn8381cQ0P+tX5nwG+TC4v5CnRBjqPIn+Tx/kYbVXSjnbr5CxF 7xXL0N8tnEcAn09MvvJgg8QQbZONqtkP2aAxapiI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from absahu-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: absahu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 84E6F601D9; Fri, 6 Jul 2018 07:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530863541; bh=dJasHm6jVyPBZCK5L8nD3D+kdovnWNp1sWzzcT78yHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eaGY6ICPPHIHAbl9plkptzPA19k56xXBL3ZhyaFsfXYQyo4dmVNRyDBOp/jgcvgGc DkoQVIqUZj0JKL0JDP2kZ+HywEawJ9x+Xtk5RYIh1tKBlBaEBFDRC/DlZ9ta/UhIsm zBcan3CbtLNLt7144ioRpsonV7Hp/Fjc1CtQ38vA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 84E6F601D9 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=absahu@codeaurora.org From: Abhishek Sahu To: Boris Brezillon , Miquel Raynal Cc: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Andy Gross , Abhishek Sahu Subject: [PATCH 4/5] mtd: rawnand: qcom: update BBT related flags Date: Fri, 6 Jul 2018 13:21:58 +0530 Message-Id: <1530863519-5564-5-git-send-email-absahu@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1530863519-5564-1-git-send-email-absahu@codeaurora.org> References: <1530863519-5564-1-git-send-email-absahu@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the NAND_SKIP_BBTSCAN to use RAM based BBT. Flash based BBT is not used since bootloaders doesn't have support for the same. Signed-off-by: Abhishek Sahu --- drivers/mtd/nand/raw/qcom_nandc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c index 9e6b383..6fb85d3 100644 --- a/drivers/mtd/nand/raw/qcom_nandc.c +++ b/drivers/mtd/nand/raw/qcom_nandc.c @@ -2750,8 +2750,7 @@ static int qcom_nand_host_init(struct qcom_nand_controller *nandc, chip->get_features = nand_get_set_features_notsupp; chip->controller = &nandc->controller; - chip->options |= NAND_NO_SUBPAGE_WRITE | NAND_USE_BOUNCE_BUFFER | - NAND_SKIP_BBTSCAN; + chip->options |= NAND_NO_SUBPAGE_WRITE | NAND_USE_BOUNCE_BUFFER; /* set up initial status value */ host->status = NAND_STATUS_READY | NAND_STATUS_WP; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation