From patchwork Tue Apr 24 17:46:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 134174 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2524416lji; Tue, 24 Apr 2018 10:50:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx495XIgW/EOE26srL78ehyDKehPfPYafVu6yARIr/Z1Bv4qti/tfM0ADDOwiu5U/H5wUn97P X-Received: by 10.167.197.83 with SMTP id s19mr17587797edr.139.1524592208809; Tue, 24 Apr 2018 10:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524592208; cv=none; d=google.com; s=arc-20160816; b=OdmMatcPXvNmx2L0I6AyUUdbv2QH2XgrnGZyGel1cNtyNhPvNEk0FdsexBGgiGA17C i0OLmkSrxjLBrA2Gl1kJAqAgQDXw9nMKIzYa0ctDtW5nfA3iI5KrY/wzGdCpzNmEkdt+ 1i5Rlwc8Vj2LJhwyVNPrt7V//Z1AFdDDWfljClM6ag5Rkj8G7a9GNecX9NI2vEitLWlB xtgh9Tdna8Ay5aWyRdGSlGdMPG/W7Rt0bjaom3CAOgOk7Y/Ro34gC9wW9ijbufer3aOb 66AV0g7ww54STSZYwh+XH4R63rQmbUz1EfIbpWJDTyUOHo1fHhtN/gaxIw+qaWdulLjO 2QKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:arc-authentication-results; bh=iYNmwW+NBhme+5wDspOAct1opSey9M2hQ0DkF/hzB3E=; b=CnLV1xMT8GRcoLFh/pYAQYBvvRkagKTRf4zOC9Ibeiiu5bUkwE2KG239CANV+jvsvB mWW9RbmdG2m81+kA6KBzxmrIHXoNnATeto7cnmsldjTCQycuOTSzA3oUvXUHZeBDFEqg qobffUTg50eGUQKWldk0ETY7CHp6tvZLD1DRl9nrzF2tp1sDyTH3J8PjaZMX9XUloBDB Nxr1uVmPX9Iu0c8s6H1SnNaZ6P/amLVCxG5ZkLYftlaDVHRRWTWzmNdqj/ZKdx3QTtGy DZG1RzB2jxe/vWkkgdhvz/RPdJ0e5Z0G4qs1mKnLlwAnLzre2Toq/FhN9ogI3qHPXv/k nVaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RSAyFVsj; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g20si432418edh.243.2018.04.24.10.50.08; Tue, 24 Apr 2018 10:50:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RSAyFVsj; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 5573FC21ED6; Tue, 24 Apr 2018 17:48:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AB319C21F35; Tue, 24 Apr 2018 17:47:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 72510C21E6A; Tue, 24 Apr 2018 17:47:04 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.denx.de (Postfix) with ESMTPS id 79213C21F68 for ; Tue, 24 Apr 2018 17:47:04 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id o78so2263338wmg.0 for ; Tue, 24 Apr 2018 10:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8OY3zX2k0+thB8b93UCr1TcpJMGILtGhyuQuzgFDZQ0=; b=RSAyFVsjFQXAhatba0mdkExYMWiD5FdNKjwCKVlnf2OlFv+XqLPHzxhQsC3kAfKJaA JZ5+Mv5c4zH1VNItO0t433aLK4NsnUUYD3qtAuDzFThDulHs9r84ChIcnpidziiI+SJa 8r6/rrYBWHA7TYdbcHceVe3oBgAL3m0l8+/mw= 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:in-reply-to :references; bh=8OY3zX2k0+thB8b93UCr1TcpJMGILtGhyuQuzgFDZQ0=; b=qTN/LXf8PaaOljRzJkTGRq3BOFW9xZV58m+ft3MAFUCxPUiUNRf0jnfCtYIASwdqCS I4itXxob8zsNtMFSDF3lSVo3wjp5uxrgGs09BWw1gXX3a4HrV9oYfn78b2sYdR3T4quG lPyOPsc/RKTcdpdqPMgNsT30TRVM4ZIx7iYu80FV7FFr1axxvdsvnAuQjpYPxMg6fRmq D3aTyZvPOU6ujzAsk3CySpvPxP7HpgSLzGBW/Yv/9VkPUGBYBDpcp7R2fHy3kEHzBQSC WHXOMDMrPdGfVZl7RUC0DNPWkyY+s6UvMLWd5YgROGkPn8uSKRUiDR7WvotEX0U+FXLy B4pQ== X-Gm-Message-State: ALQs6tAvzqEOq4Y89RrJX7EjBwK4J85naKz1xoeG1eAaVl7enMMgta1i 1nKHhBCTXlCuK1vAP5p0uoxv2XFKMWU= X-Received: by 10.167.214.140 with SMTP id d12mr17376389edr.6.1524592024000; Tue, 24 Apr 2018 10:47:04 -0700 (PDT) Received: from event-horizon.net ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id e6sm6443087eds.20.2018.04.24.10.47.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 10:47:03 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, sbabic@denx.de, fabio.estevam@nxp.com, breno.lima@nxp.com Date: Tue, 24 Apr 2018 18:46:41 +0100 Message-Id: <20180424174647.11840-13-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424174647.11840-1-bryan.odonoghue@linaro.org> References: <20180424174647.11840-1-bryan.odonoghue@linaro.org> Subject: [U-Boot] [PATCH v4 12/18] warp7: Add Kconfig WARP7_ROOT_PART X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Adding CONFIG_WARP7_ROOT_PART allows a defconfig to specify which partition is use as the root partition on WaRP7, this is a desirable change in order to support a different partitioning schemes. The default is the current partition #2. Signed-off-by: Bryan O'Donoghue Tested-by: Breno Lima Reviewed-by: Fabio Estevam --- board/warp7/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/warp7/Kconfig b/board/warp7/Kconfig index 00df19d47f..c089bca2ba 100644 --- a/board/warp7/Kconfig +++ b/board/warp7/Kconfig @@ -6,6 +6,14 @@ config SYS_BOARD config SYS_CONFIG_NAME default "warp7" +config WARP7_ROOT_PART + int "Partition number to use for root filesystem" + default 2 + help + The partition number to use for root filesystem this is the + partition that is typically specified with root=/dev/sdaX or + which gets converted into a root=PARTUUID=some_uuid. + config SYS_FDT_ADDR hex "FDT load address" default 0x83000000