From patchwork Thu May 14 12:11:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1200 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 70C973F077 for ; Thu, 14 May 2020 14:11:59 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id z2sf27395052pje.9 for ; Thu, 14 May 2020 05:11:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589458317; cv=pass; d=google.com; s=arc-20160816; b=nhcqrMSyx1HAESy8y7dNXOTfZfwmzNOd5AkWbeLQFM7rgGGmpGd9Hh2gV53dnNSj00 tgTQIvgpwnULv4hpg/opFqOq4DdnmLkNyu8Sh3u9g1LPUJObbRinv9h58c/hfeAZ/rnB dpDSAZJWGR2MNHIN1381x8QD1i7kbDqxpX/TJ5jqVDvM/MChf9v8KDKMXeOEW9wSlpH9 p+pSGyKUZxe7t8s/X8FoOTHrsDKgrHHgerpv0iXCH8+vs/viitmZDO4pzDuUmOSXDNSW knPuDxUK0p3WcE18g0RrWPLA9QgjSOLFX7H2i3D/TT0hEq66foD/oAuBfKkZwOin8kfQ +Glw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=kwdDZZ5EwO47PsJ6S3ZCejzVOy0Whf9/H7iZkMFjASA=; b=PYBiHbj7w8h/gjOb7XSF1cEu5Oxe20KRbLxD5/3D8tv3wKBM9VWMzOgiCFMTkvWatI e9sGZZlgpYOPhKDjac6k9tOzSiC6qNfSgQ5Lv8IhjqEbDoiq1LFrAQcBKIRp0AmD9NMB 8w3zQfMOM0Ecb8rJAl8XxpYMuidpfzL/F95gNri8/arKFdJ8P2pupx8fAGAyku5uG7Hv X+myDs1DS8JX4ogvj/Y5YODw3as0m/4O61ukhiZTMQxXRtw7zWhWFPnPVFaXmGVqlrvm BYKWSZJoai5sjGMHz/PCX7AhuhlLmWXHCWjstjNN3f+IrUSsY6nz1TjE5SICI2o+0cLL wfyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UF1VflUA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=kwdDZZ5EwO47PsJ6S3ZCejzVOy0Whf9/H7iZkMFjASA=; b=kzzoAzszTAW1rrDcMLGTbEmUT7K5+ls5dwzTnZt/0/eachxujZJ3vlw05fR42DTCcw 6IBFM83KEhR8GOnmKWvLVMoHc4ra96u0KnQA+4qhlUFWCf2hwwc1qxFhBsiWV08iZFxn wuAJE6+nii4XmxXwjxuJx93gWJQ6irvm+S48s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=kwdDZZ5EwO47PsJ6S3ZCejzVOy0Whf9/H7iZkMFjASA=; b=cbumPivUm1GxapLUlUlMM9dedGA3MFWH8IcQvgCasM5nyguDt8JToGQD9fJUj+hU8r evC6FSgm5M6meswyfuV1dBt1fNyEz7+fsC5oJyYnNtaMmu5q6Opp5hUk42xYJRz34Oz7 EtPpaNx6UwOR0c34uFdvucqUpThCCU36NwcwA2DZV9eWi2KA48G0XOm2rC2QapLjZ4U8 Gx/f4jg2gYGQHD1tVIiVx4rVagcydXMiM8RUgFwkofzVlj85HFYfV89hmt66Ad9rACyI MY+gqxYKODzzELDnGPjLuiqLJ6U+p2H98v024XVs7JKsF16tebH0dB/k9rHyv69qrKOz ntrQ== X-Gm-Message-State: AGi0PuaKZ0tF3Ktm0zv/Hcvhbe+Iwjmi6y8DypFb1oRXfXO7LGo5KKHW mNtT4FUfPdzmcNhuh0t4N1/UPg1a X-Google-Smtp-Source: APiQypKHKS9e4TfATcxcV6w6dZMsFEqwANvUUol+Jvr/afmCx8k59m4WX3200nvXYvbKott4WGNu7w== X-Received: by 2002:a17:90b:94a:: with SMTP id dw10mr40896790pjb.228.1589458317189; Thu, 14 May 2020 05:11:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:fe52:: with SMTP id x18ls782580pgj.6.gmail; Thu, 14 May 2020 05:11:56 -0700 (PDT) X-Received: by 2002:a62:7b03:: with SMTP id w3mr4042345pfc.313.1589458316668; Thu, 14 May 2020 05:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589458316; cv=none; d=google.com; s=arc-20160816; b=D0NxiUpUTlAVkaoEfMBoLfJUQRdtLmR4/Par4fCVT++ryAOSwh6eOFXrdWAmAlVf3t 6V/mknfnM+Pbk35vpbZEJjQEjHJBxfIsMDgInQqKvxFkP8iw8Hnrl2KGT2s274kE1RDk JWtips3w1BTCGZPi7r8n+UFNWxnZ3fNXmEr3IWJDqfrbSbPQnh2DiNv/ZXGTE9+3IBcv pyTrsYWWgb7tJafHgucj//GyobvOuFq8wzUVbIeKcBUClgsE7PMRDEDwdu8tHTxYgEPW pPHiCRN0NkDdcpZGiKy2jqytdS+kQ/AIzZyMEUJWGrj4WK/4wUeYTGUR+Xd6IUoGyIdQ GM0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=rvOherrjJgbHeCoiU0ZOFYffhfKJ++rPBuaLiIlteeA=; b=ZekUq2Fcw32F2xp+I7peEVpmbzvzeG+vv6vg9L2nmK/Go/ejN3ZXdblEKuc7aTCcvx OjELDH6+gtNsydQ7+V5Url/p3M5oP34G4fNThtkgdVslssGawYOph5ePTCvvacHn38ln zgfYZD2Cdx2tOG18mNJ9jpkwoBoQoCe6t8rGcCeSODtHInODu2ZEEevoBZMDjtzJoqgk TngWAGgXoYemVxSYB8PcJLCXhy6RJYTc1Hs6bJmmd7CiIvBD8ONaWMDfoczCfRUgaSO6 +5o6QegXTew48je5UBEdiSAT+q1q7IHI1hR93Jrc+8+D5gc00Wk3NzgGmZJJ+LN+fOAG m5yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UF1VflUA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id t11sor3636170plr.70.2020.05.14.05.11.55 for (Google Transport Security); Thu, 14 May 2020 05:11:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:d70f:: with SMTP id w15mr3972037ply.55.1589458315097; Thu, 14 May 2020 05:11:55 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:713c:4a0a:47eb:ffcd]) by smtp.gmail.com with ESMTPSA id r31sm2091050pgl.86.2020.05.14.05.11.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 05:11:54 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 0/5] sf: Cleanup Date: Thu, 14 May 2020 17:41:40 +0530 Message-Id: <20200514121145.28737-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UF1VflUA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cleanup of SF, no precise functionality changes. Any inputs? Jagan. Jagan Teki (5): mtd: spi: Call sst_write in _write ops cmd: sf Drop reassignment of new into flash env: sf: Preserve and free the previous flash mtd: sf: Drop plat from sf_probe mtd: spi: Use IS_ENABLED to prevent ifdef cmd/sf.c | 3 --- drivers/mtd/spi/sf_internal.h | 10 ++++++++++ drivers/mtd/spi/sf_probe.c | 19 ++++++++----------- drivers/mtd/spi/spi-nor-core.c | 13 +++++++------ env/sf.c | 18 ++++++++++-------- 5 files changed, 35 insertions(+), 28 deletions(-)