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: 1290225 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=UF1VflUA; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49N9Rm6R0Tz9sRK for ; Thu, 14 May 2020 22:13:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2840E81EED; Thu, 14 May 2020 14:13:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="UF1VflUA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C3D3181EE8; Thu, 14 May 2020 14:12:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CD96D81DFB for ; Thu, 14 May 2020 14:12:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pl1-x641.google.com with SMTP id u10so1094248pls.8 for ; Thu, 14 May 2020 05:12:41 -0700 (PDT) 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 :content-transfer-encoding; bh=rvOherrjJgbHeCoiU0ZOFYffhfKJ++rPBuaLiIlteeA=; b=UF1VflUArWQju1w1eWYOMw9Lrtth4VyWQRwTsbon55mlTq/wbiisKwhkMKsaKtvs13 NSZcK62hq2K6oLimi5UBSwHdi8hqZqmyXWnQeinHAYFU4thA8dSMho4Z/rFIX51tohW8 y1bJxDiS7fS0E0PjKkWKxhd3z+uEdlmNNGbtQ= 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 :content-transfer-encoding; bh=rvOherrjJgbHeCoiU0ZOFYffhfKJ++rPBuaLiIlteeA=; b=fzSDvGrJ60UGcGT1xL3M0SL3T75qnG/Z9leu6+WsG6insi8w5gcMuMeul1SNx3VM63 iGHZM2mtIo/7hF/IBqkXblNqEkbRGBNjmdsN6ogmrPlJrBMtJRW69Uk9LeViWH9MFpg2 vzJix6XrYapkBCQScbptmufDHcV6T9S0yznPF4sdh2TyzRQKYasnXcpf07/gYZHnJ9n6 8TuS4Ni9b4wqZjfjTBnHQdz9QK5pVh9OLRcf5lRuPzXOjfYd4FmdYXXEbs7kXOUvDASp ecW12YMRcpyVqGSSfZRQVGZwvbwNjwHJMErUNcrkibqlJJL4TuQSyKHcLe75iREvV5ky eyUw== X-Gm-Message-State: AOAM530pw3n7unpeXPHOXzfKGxq0JHIP6w684EiMtlAoIJUpO0Skhhuv bQAO0MSq71issYJTKo7tErC4Nt1UkyU= X-Google-Smtp-Source: ABdhPJyY6TW1Uka7ZHVToN1UXhh+6uxaRQix/xubUqMcHcSIa1g3o7MgR6YNFPz3LLeePZDfFaK7tg== 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-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean 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(-)