Message ID | 20230529140229.3225090-3-rui.silva@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp250521wru; Mon, 29 May 2023 07:03:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52Jb9EJL7DREvHJpwckUjwKAureIzhHJoqFrwefyDVNeQ46wi5VBW69SNwa8GpkaOO4Ocf X-Received: by 2002:a05:6a00:1253:b0:644:8172:3ea9 with SMTP id u19-20020a056a00125300b0064481723ea9mr13882445pfi.15.1685368992841; Mon, 29 May 2023 07:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685368992; cv=none; d=google.com; s=arc-20160816; b=EffCT8oIAfNFANOpPv4Y/REK+hEME+Pe/6ImLm3F6d9NTbOoY5ty/9puJt//K4yt0Q 6XeCFNkg3jQF2cba47mdxW8GwY341XhS1J5b8AivtuKDq6M8Do3gmtLDofT3x0kDio0Y CHtnf0ptBJcZGOyZFyT0tWNFfBw2nFt0XykkWfCgAi+WQhW67oOalP9W/lKiwlcvknfL 7+qxcNo7Q6FrM4rhX6cVbkCtxaGTzAYPUaeqkuVNvoVkkbEQhudPX86rBcasquAuvOKk 8juupg6wi8xJWGdbugSPt9qNpStPQXBB2m2CW/ELPHNKli5yS+FRicwpt7se7q4ckah7 kspQ== 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=FPOQGHiCz3OOpAUkkuFUZeBt42qUzIfdRX0FJPhLxfo=; b=wa2FnHJ35hMfZcXNDrmartXxTIp/UvPSIQkVRYqC+HwEn43BpWz8MZkOquS6AuGkSI SjPSPBr0cUKi83nj40Zwv4wCmemUgxQ+MMIxBvzjIHcu+rJq+PqpJQ8KB1NnLpcqVq8b ZyeVPt9nLxhGvaEdF7TEIIGyJHzdyOQ2kasusR7QFENVmyQj20Ty9qym08yV0UiCJIEE 2Lg3FjRzNEi7fBzKMZOBjpJRTw1uwE1qeUktHSXbmO0MwYCCQQlOWSrmR/r8Naf2W12D nAFhjK18ieyMRRIJrZG3XCj1ScCR9w0yZekhjE6a33MXFu8S9B0yEH+2adkq9+/oCVo4 4NqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OmOrLhuc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id w4-20020a656944000000b0053f287c32besi9391661pgq.206.2023.05.29.07.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 May 2023 07:03:12 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OmOrLhuc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 B896D85C77; Mon, 29 May 2023 16:02:44 +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="OmOrLhuc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 135A085BFB; Mon, 29 May 2023 16:02:40 +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-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 A7B2C8215F for <u-boot@lists.denx.de>; Mon, 29 May 2023 16:02:37 +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-x42c.google.com with SMTP id ffacd0b85a97d-307d20548adso1962060f8f.0 for <u-boot@lists.denx.de>; Mon, 29 May 2023 07:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685368957; x=1687960957; 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=FPOQGHiCz3OOpAUkkuFUZeBt42qUzIfdRX0FJPhLxfo=; b=OmOrLhucw/MlWBnQlk1PdKHtvBP+JHWJi6zr2uXhsFf2zAXsCZ93y2DSkUyGSU7zTg Ap3AnQB/T6SfL1eUDyYPYgvebl4GiOrTtC9whOEdOBGVlrj4U7Znb0MXUico2+jdfXw1 do6bvXivHWej2YxlOnI3zAPpKKYlCCzaxuPKAEUuLtZz1uJNTckI1K5uZ7VPAIYd/fxE tht89vHab5KlBeHQJUzJl9UWSmc1v19of48gngKMr58VNmUHWYxl9BlnaUrsboLxkWFh xUS0hA7Tcu09hdiURE9qWhPiV9bfHwMTY1lAyyDH4z6dvNe9Rye4IjmpeoPm6bopyrlT 53OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685368957; x=1687960957; 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=FPOQGHiCz3OOpAUkkuFUZeBt42qUzIfdRX0FJPhLxfo=; b=Gd93vcCpfQJsxAnyU7IzbxOcMOYZjGltQWkX3P53KqXm6PBJdupYEKxt2+FK+F0imm KhvbFR/3+XmW7hXwcsBMzEsoFoyQfv5e0O07Pmpwc6pM/pIJbc1EFZ2WttlR3GeFH3MA xYyKPUqFD79Vg4bsG8G5/kmpYI2Yy0m4sAaJJuN8EibepDn1keUoI4NBGze3sjw/haxi xwzPUEwmTonKNG51yGLSh+2l6umA/OlOEKRjwBgY6N2xvBxoN8ZbXL9/2fNJXQ1jLAmG GjMIbK7+Vh5dwT2Zfjll2rLx/E2IRg9ipNWB5SjKT+2GK4mkK8HOaYSf17fLjJvSoYdp Obwg== X-Gm-Message-State: AC+VfDx7qsp8e3I6Fv1/DTQ5TPFdr8ekCCYWqJU7kHX0oOONRgbzItjA vQYB8qAAZzifvj4Hy8u9vbC4kur8gaC+PZXChFc= X-Received: by 2002:a5d:6589:0:b0:30a:f0fd:dca4 with SMTP id q9-20020a5d6589000000b0030af0fddca4mr741699wru.3.1685368956943; Mon, 29 May 2023 07:02:36 -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 w12-20020a5d544c000000b002fed865c55esm54123wrv.56.2023.05.29.07.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 May 2023 07:02:36 -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 v2 2/6] nvmxip: move header to include Date: Mon, 29 May 2023 15:02:25 +0100 Message-Id: <20230529140229.3225090-3-rui.silva@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230529140229.3225090-1-rui.silva@linaro.org> References: <20230529140229.3225090-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%)