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: 678396 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp499478wrs; Tue, 2 May 2023 06:12:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7++D4aBH7UiyXBin1LngUMcZDRslYDr8HI2TjT6YCx69Fbb1HjbDRGZekcrWJNIlVB3nv4 X-Received: by 2002:a17:90a:4965:b0:24e:271b:da4f with SMTP id c92-20020a17090a496500b0024e271bda4fmr2248985pjh.14.1683033166821; Tue, 02 May 2023 06:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683033166; cv=none; d=google.com; s=arc-20160816; b=K9twHKWPjdy9Ey1KkX3rv0VXQ6lgF7yKXwo1U/yr5hCpUd/bQhqrN0bCzOdF7PG04U vt/6zQaqG6QGekNwqvOogF0yn1t/hV/IfjYDo30bf2pgEssb78VhRZWtlivCXyLUKEGX 4uHDxuA3KdvPZIeqGWMKnsAMjwg/yD9VBMSdp2STPLU5HLrDC73FG4iP5B6giUYCHUc8 7tGBRpscS4VYIIZYjaWsZTQVCn3DX+pc4Rx0mqagLSjQvATTvsfTWjCOrvEtHA7cV2Ft FGaeqnxCTT1lGdtVvKQd+ihtimGK31ijt8sZB00ZjrCTgmHmBPCSeU5l+uX919XCP9mb VLBw== 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=CcTlPr/4utG1hdzdaD1JJTRYHUH+5REsTbseI+4PkM4=; b=FfSxFlTxDSPVjLLdwSf+39DhbSZf1XDkGaai1HqmjxkCCYXIfXfuF+tRufvajWqMOZ 6Rpxr8eblFTZzswc62fSjgodIzeen+a3u3q4SjJ7paSJ6MB6Hcso+P2cqcnMZs/2V2m4 Ffh+6shNYWc/Guuz/WRRGU6PnSPyDO5QZ4opHXLHXfLl2feCDPZofTPdwvL0pKhQH6bA UBssQkBbQWjyjGVpwp6sKYnk7RSO7tbixHmGmNdGFBg+RKXbj83g6sX57FmMtTH+SXE5 JW1MYUMFS5ec6O01zg5viEMjZ71C+VMhtow+/jYZ7iq31k4sDGONXEeAbqc+ILx93WTJ Oocw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p1Sv8jhd; 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: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id j17-20020a17090a589100b002498408b1c5si32056050pji.39.2023.05.02.06.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:12:46 -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=p1Sv8jhd; 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 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-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