From patchwork Fri Mar 30 14:18:39 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: 132625 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3108769ljb; Fri, 30 Mar 2018 07:30:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+iber2pJr8SX5Ttv9cGZ42L/NIrgN1QmhiPFb8oviY8DFu/qnhP3739rlnxRjFm6BN9IK6 X-Received: by 10.80.244.6 with SMTP id r6mr3224311edm.2.1522420242956; Fri, 30 Mar 2018 07:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522420242; cv=none; d=google.com; s=arc-20160816; b=LhbXSVdKj2UbOJ4Kxa7g/K5fYMYB73rj1aUQJE9Des1mUkyOs9qzr0xcKnWIWy5/5H TIN4dtIFZf+BY/IQkOHHvOgkLpJEwylIkqabPxwgGTZDyhJ8byK72adaDmwXmc/s+OIH JQbqfhdtZR5HCKaYZZb3we/z6VaR4lQ4gqyQB5YOEcTvFOWiYn9SaupZDCdO9vMFFlSb gV+uO7WfV753yOUyDpKNR/vL110NAfKoZ5a198Je2zpxs4gh9zBSM+0xsxhShSmn14W2 pGW/IaeaU2iYnW/c4jE7YFbyxGD+7rIJt+fFIBVgpVqgMwBWxIIM9eF99fpl0/XZZUP0 DGOA== 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:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=u686vhWbrZzGteeftF8bTwaSIYylAa3I53d9jhhfXfk=; b=BZEsQ9AHULM2tPq17LvvwAolomAZ+d9MtXIbEFiyIJcRL75XkTu992Lic+u+o4P7Cy 4K6qdAreLFScggJkk3bJNCMp0qZ/v3Pg8gcoYefhEJOAFbjAwhmaD9jmFmRIRrKcZTjh 614n0bx0m6aZUN8jm3HQuJ8XmqMhzJLeUSB4VD0Z59xz9XXgvIB6iXR0aUPTPLD9blRg ZtOcANCDVInsU5op8Dd1TzHNgXX75PeGp3OIGSLvYumitACryn/tTwR6UvPsGCS85bxi PzTCiKm/J2G7WeEV9Dhp82BtEZckgFFXMWlCi2b0sz2j8nfyPHBX6iEmaMLrnFmUrRNR 4ssQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QM6DhdCB; 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 g25si6684685edf.328.2018.03.30.07.30.42; Fri, 30 Mar 2018 07:30:42 -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=QM6DhdCB; 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 5FC60C2225C; Fri, 30 Mar 2018 14:23:54 +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_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 070A1C22264; Fri, 30 Mar 2018 14:20:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BDEE4C2216C; Fri, 30 Mar 2018 14:19:04 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 6FAD6C2223D for ; Fri, 30 Mar 2018 14:19:00 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id a20so2393391wmd.1 for ; Fri, 30 Mar 2018 07:19:00 -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=6zyqbeXbsYwssJz7KTaTg3BhQYvtOgkhyHJv29E7nww=; b=QM6DhdCB/KLE02ZgOvc05rzlQzU8fPb25V+71RUlHUTLiZKIrV4cXNP6hsOaERgC6j Tfqk768GQs44pjG0qKUc8vZ+88x5hLA5gkIcyQWat3PaJdS8FMpBTIpAIOpSTdZeoXXz c/R+o2yB2O2n79n6G1iZX1qpYTS9+7zXQd7pw= 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=6zyqbeXbsYwssJz7KTaTg3BhQYvtOgkhyHJv29E7nww=; b=cApAksESMb6gK2wbxEdygdWsCZOJaJwpuQZCndBswTNCxPkvzjQLxt18eJKVk3WSpw l8pKTfYmBugin5sjg1MNn2clU1ruABGxLj0P4/oImvwVkSJ16Gciu2cqufave5Zh1rlX cxNsl7332E//UkQtqz0TvY000QeJuY4K1dqtNiLZHw3tNWda7T6h0ot7wwj+CVH7Z/4Q CAAGVZbwOC4zVlHIhcPHPXg3RmRcNId5fWxdvjEMfSY6OrooFzaXH9L21LXBlEBdVrQ/ 2JKZN1cAgoPKIt7nyjEovyt9LLEnWzKDqJuOGImkC+rq6sY0x4s2gQ0aCkpr8dW4tOAe vi6Q== X-Gm-Message-State: AElRT7FCCePOksrntK4sPNoI83nLOmlUxF0GqvhyL0SigXFXGCYLKy5a uYOK+Izj7f66qypuGPWugh4oTC/EMhE= X-Received: by 10.80.137.201 with SMTP id h9mr2988577edh.225.1522419539952; Fri, 30 Mar 2018 07:18:59 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:18:59 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com Date: Fri, 30 Mar 2018 15:18:39 +0100 Message-Id: <1522419526-29494-12-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> Cc: rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH 11/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 #1. Signed-off-by: Bryan O'Donoghue --- board/warp7/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/warp7/Kconfig b/board/warp7/Kconfig index 00df19d..c089bca 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