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: 903732 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="RSAyFVsj"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40VrSy6Ypxz9s0v for ; Wed, 25 Apr 2018 03:50:10 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id A04C7C21FEE; Tue, 24 Apr 2018 17:48:20 +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-Google-Smtp-Source: AIpwx49qwxk5716GMTxDGPepy4lyRyUV67rC0qry0PjFYLtGGp/EwysJkw9uKFOrsJspbPkpYq9vvQ== 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