From patchwork Tue May 2 13:11:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 1775879 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=p1Sv8jhd; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9gVP2XSVz20fd for ; Tue, 2 May 2023 23:12:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6252F8473A; Tue, 2 May 2023 15:12:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="p1Sv8jhd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 93DD384738; Tue, 2 May 2023 15:12:20 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 7296384735 for ; Tue, 2 May 2023 15:12:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rui.silva@linaro.org Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-306342d7668so895375f8f.1 for ; Tue, 02 May 2023 06:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683033137; x=1685625137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CcTlPr/4utG1hdzdaD1JJTRYHUH+5REsTbseI+4PkM4=; b=p1Sv8jhdqGluQ1vSRImvLIgMCPWSKIWKO1buzEnwGSwblPKh3YWlCQ3gld/uAhRFVG J31ayWj9fW6finntXfTztdzamdhZck9QsDGQMA1WDZ6+R/TgLXo8GlulzdtkzNz8yLhn +McdJXmLg9Uq8wxaW4IAXAQneQqT2cSTJJGQEdzBQx+lAs7BIXnmqxZR2KHECfoH2/Ht J7HVZ2arnMlljnJ+xnYfKrcXAmRSPu0DdtbqGILRgLBlKkn37E5SrEKagBBzJJUaxzCC cq9w7zDsp4B6/UbXGSkpqB5HbnfWb+kwZnNu/T7Hi7sFqbemHWTbxUVnK9yNKZptSP2O YEXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683033137; x=1685625137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CcTlPr/4utG1hdzdaD1JJTRYHUH+5REsTbseI+4PkM4=; b=O3d1F5RO8zIipp2IaWpL37R7CtpJXHsyxS91Rp7mbP9fgYfDFNQU+9Ji/mz+Y7akka opQ78GDL/OIsPer3CtZCHzCQBZmwlVjTw5pMrT6AkDjzI37dm7aRgvSo9lgDD45PaHOn FmzyALi3Z4dktpp4m22+UKcYzCw27pfm0AmibQ8RRapwrxiX/JX5dnk6hPyYpPd2QSJ6 SWpwehg0s3oqamMalkbryXM4UBeDwzIHWdBUKYP+ohTvQZVknKtHwO/X8xk69pfqBQso sG64oBeQNt+OjyffhlK0SD3/4bv2ufa1s/XRMi6SuXVIaqexan7z82G+1ta1miYrLoig dMPQ== X-Gm-Message-State: AC+VfDwklX+vQ12s3fbQA5DtVUv6lk71hRngXJU8Ynt0sxiMVPElk5b8 QnrocFoIUVfweknEiP+mgXruBw+2mTWkcGOWv3Q= X-Google-Smtp-Source: ACHHUZ4RvNazMIo+6YLiLi2ULClCqqyEnz6XQP3H7yOYTRz4lz9JFN/uT1LJUX+4AKKrUJ4G8WF36A== X-Received: by 2002:a5d:6a4e:0:b0:306:2f5f:6201 with SMTP id t14-20020a5d6a4e000000b003062f5f6201mr4025609wrw.33.1683033137227; Tue, 02 May 2023 06:12:17 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id c21-20020a7bc855000000b003f17300c7dcsm35277121wml.48.2023.05.02.06.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:12:16 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , Ilias Apalodimas , Rui Miguel Silva Subject: [PATCH 2/6] nvmxip: move header to include Date: Tue, 2 May 2023 14:11:56 +0100 Message-Id: <20230502131200.2551513-3-rui.silva@linaro.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502131200.2551513-1-rui.silva@linaro.org> References: <20230502131200.2551513-1-rui.silva@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Move header to include to allow external code to get the internal bdev structures to access block device operations. as at it, just add the UCLASS_NVMXIP string so we get the correct output in partitions listing. Signed-off-by: Rui Miguel Silva --- {drivers/mtd/nvmxip => include}/nvmxip.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {drivers/mtd/nvmxip => include}/nvmxip.h (100%) diff --git a/drivers/mtd/nvmxip/nvmxip.h b/include/nvmxip.h similarity index 100% rename from drivers/mtd/nvmxip/nvmxip.h rename to include/nvmxip.h