Message ID | 20230612081314.723786-3-rui.silva@linaro.org |
---|---|
State | Accepted |
Commit | dc3abd8006c5fe715449302f9aaf79db190454fc |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp16832wru; Mon, 12 Jun 2023 01:14:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LzToAIPZURVTjuyqPD7pUn5jpqTBWSqeHUXtip0n9UujndVYTHCkaVzoWj3uOyBEQE6xq X-Received: by 2002:a05:6a20:d39a:b0:10b:2214:7ab1 with SMTP id iq26-20020a056a20d39a00b0010b22147ab1mr8215803pzb.18.1686557648500; Mon, 12 Jun 2023 01:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686557648; cv=none; d=google.com; s=arc-20160816; b=XdW+RpFK43gky6jWndGt1k/DBoHwCmggyH4mWjFTUnclCUHZ1z6b0hxHLOCG4ngjua vlVl3ccvJX0M3n0WrECS8B/HyO/Hg20xEGbZtZHdKjV09wo0i7k7CkEbXT45xQN1qBND AzD0AM4ENKcMxeKwrN5z1wYxJBx5ziel+whhhVLnzhtfz8tZkOYAcKTAw1VwMsfqZqNS o8qvICuBkmvhFpitKLNAXgaFZnS970Qa7cM2yhBuj08t5LfV7hXhPCMS/Gw/m8dX4tM/ IcIL38kbFJaXLyx2k+b+DE6mwhpGBWwuIFlAyrRXOZ788iPH5ITMDbEB453XdwvB0ziL lzvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TwRQFVNgk5iYBZjiAyXKFcgSva9nP31u4rqCpTdVzK4=; b=C7AY0tovC6H+kVfH615NVQa2ACjT3SjuBo3g6rG+MRGS02OXnlNodn4gu2gPIKcSii OueNwBgwY/qzyD78CFF8taUoKnqGjVTFYRL4tRWA+i6BUhin//w+KZGDMMs++VYNVBSI YuQ8puFLb5rjuVQONpkWYp45j8qZ8k1s2pOMnUVZrlSheyRCVIoelTTQkJ567kOmyUcu UOcezGI1e1MmShWRuN+87Pgp7o44dFO41A1wFOjXXhfXwkfuCQ/Qnu/QKBmbvb0zsMJF DbU+224cC5vKGoZxnTvG8sc9zjNsayhpKIxWhDKMOauq/GvrTUtkHzOfbzvY4XAdU+0/ LYLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=euzavWnd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id q27-20020a63751b000000b0053fc68bc1b6si3596320pgc.42.2023.06.12.01.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 01:14:08 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=euzavWnd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D61BA8613D; Mon, 12 Jun 2023 10:13:36 +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="euzavWnd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C953686140; Mon, 12 Jun 2023 10:13:27 +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-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 B4B7084780 for <u-boot@lists.denx.de>; Mon, 12 Jun 2023 10:13:23 +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-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f642a24555so4700435e87.3 for <u-boot@lists.denx.de>; Mon, 12 Jun 2023 01:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686557603; x=1689149603; 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=TwRQFVNgk5iYBZjiAyXKFcgSva9nP31u4rqCpTdVzK4=; b=euzavWndBfuo/Mwq2WJNkRy9pZom/R0L9Clm7mqIUZRPUhqpjMcKfb6KX78d72CrTC MBvhGyjc1NPdrpTuYXiRkCd8IsfTdjrGPYfgyxNwzZcR8SPXX1xwWrzJuB4py0N0flIL oi/DLjDKprLr0d8vJndp/SOc/8q84gsYpsAWgDVjRRXLhk0AtEqlbFL+XRvb1IKCtNTo llsDnI0aONEwzuoqErZ5+m4DR09xWg6XwAvz02QJtFmnZy0qadagZQc6t53iO3gAX7tp TQ76k08RxoaIFK9lW9SbDxcMVebkddPXDdDa68jUc2rCbZmc/b1VuJYDaiefw/7hi0QN 9jWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686557603; x=1689149603; 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=TwRQFVNgk5iYBZjiAyXKFcgSva9nP31u4rqCpTdVzK4=; b=hHVWKB9FxZwjQRCqfgnXI7I9Xc2isANOx2wv4Vm8+Xt8JoMh8C3fIoKg4kUEQLJYHL 7vz/pj9nI5FtJKtwzmTOBXu4fixECsDcLZqVreDjrJVqkgqb/yQo0S3rqMIbDX80P12i kl6WQ56dZJGjKDdCJCw8AQSHy4XnxtTuZoo4gJGoXS4izYIivkuWfHWaN5yxXO5Z2ppF hgNcTrpIkPWCU/JXP3TTYK07DOZX1d4g2FblG62VCjpyxKF1Mpj9PIW71+Ec7fn6mCuW bVSY1abgzCKJx/4AIgxi0paKMJvUwRke/qlvsA8ngrt4bRAw9QDobflCIWj6aVRQthap R8Lw== X-Gm-Message-State: AC+VfDynU0kpdgQK4QxoZzHqx8NOm8ZkOFXikZp5fSmRkbfvkHT+uXTC RQsqEDWK43DBHOfZXQX8CfR25p+95mU4UJ11xD0= X-Received: by 2002:a19:434c:0:b0:4f4:e744:2e71 with SMTP id m12-20020a19434c000000b004f4e7442e71mr3158885lfj.64.1686557602873; Mon, 12 Jun 2023 01:13:22 -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 m9-20020a056000008900b0030ae499da59sm11637390wrx.111.2023.06.12.01.13.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 01:13:22 -0700 (PDT) From: Rui Miguel Silva <rui.silva@linaro.org> To: u-boot@lists.denx.de Cc: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Rui Miguel Silva <rui.silva@linaro.org> Subject: [PATCH v3 2/6] nvmxip: move header to include Date: Mon, 12 Jun 2023 09:09:16 +0100 Message-ID: <20230612081314.723786-3-rui.silva@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612081314.723786-1-rui.silva@linaro.org> References: <20230612081314.723786-1-rui.silva@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
corstone1000: fwu metadata and GPT
|
expand
|
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 diff --git a/test/dm/nvmxip.c b/test/dm/nvmxip.c index e934748eb5d2..89bf481f6161 100644 --- a/test/dm/nvmxip.c +++ b/test/dm/nvmxip.c @@ -17,7 +17,7 @@ #include <linux/bitops.h> #include <test/test.h> #include <test/ut.h> -#include "../../drivers/mtd/nvmxip/nvmxip.h" +#include <nvmxip.h> /* NVMXIP devices described in the device tree */ #define SANDBOX_NVMXIP_DEVICES 2
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 <rui.silva@linaro.org> --- {drivers/mtd/nvmxip => include}/nvmxip.h | 0 test/dm/nvmxip.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {drivers/mtd/nvmxip => include}/nvmxip.h (100%)