From patchwork Mon Apr 2 22:42:10 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: 132681 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3100219ljb; Mon, 2 Apr 2018 15:46:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx49KEWRIOFfeN0F3IpswG/pZcERWsj5jrDjZ0HTFfy/7993kYogxyq4bNCySmjPzfnykMeb3 X-Received: by 10.80.242.144 with SMTP id f16mr13749497edm.52.1522709181837; Mon, 02 Apr 2018 15:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522709181; cv=none; d=google.com; s=arc-20160816; b=XZMR5QHmZjNhNJIxfXLC8iEs+1T1aLhQsdk8qpIQDDQGW4n1ayQoItIoW3ITQkYLwo qPz6WaoxzkBGFgsLqxmDFl0yFF7YlxwVCiOdOubMNeIOKtpIkLOeEWX5RNDIDX1rCa6P fzkETdG64gHnQZAtBdPktFeOL6Mjo8aRBeC/CqgTrvpdSRLiG6W06UgCnOVm3A/4TqBh Z5QR053pqUGtVGtAFcSf4GnIC16Sn7FN5bzhnUTc0V5amLx6ME7vNF0JwC+1qLipDfvu Wtf+2kZV29Fg1QvXWGkxgnkivix6E/YnsFWmQzv8N1B6YTJx4P9Y6L5O8k2C7gTaWPzm Tbjw== 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=pn8Hvq4XbmzvF5kRpbh+fA33Lc0pK39oKknyiqFVvcg=; b=utkVsepWTtSr4DOggNsV/vFBSKEVbMIUNI+p6qVy/RqtQREJZ++gPRUeZ8sh1XrYdY u3hHjuH9Lq6YFCQmqIH8GaWh+wT3o28O3DxZA4npq9WhoTU8h9txwE+KCzv5kzeNeXp7 zT8KqxDoG/G+4MQsKbs9qdIQyzquEDeVskbnmK0gDzpNAj2lZ8oO2NGgF04xIb2Sp1G6 DQJxBljh9+C9sQBSKPe8CXSqp4TjVsyMnPoQnyneJBGyfJzSXMzBiM4Ow9jcehbcZr82 +EoKOUXXZI84fshzu7AFrpXTQc4Bci1Q+OD3rePn77yKukQ/TNJnZXYiG927YEgcHyhP JF8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eaPpAApA; 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 p7si1245773edc.248.2018.04.02.15.46.21; Mon, 02 Apr 2018 15:46:21 -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=eaPpAApA; 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 3E095C21E15; Mon, 2 Apr 2018 22:44:27 +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 89D01C21DFB; Mon, 2 Apr 2018 22:42:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 43341C21EC2; Mon, 2 Apr 2018 22:42:36 +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 A47FCC21EF0 for ; Mon, 2 Apr 2018 22:42:31 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id f125so30446659wme.4 for ; Mon, 02 Apr 2018 15:42:31 -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=/2tvjMqvheFPaxDToxnSUfvJvW4njbPu/uUoO+4TLH8=; b=eaPpAApAljrw9+SbfYs0mqiU9LwkvbM1YsZf2YC1WgJ9ncFTGxYlKMvwX8nlxEY+Eq 4e/+gmKsfA2f/yC42fP3HERL5qEHU6eYnDrw7YxLdgAP67+/lt32Lt5alBSjlofTn7nJ GEl2EWnAMR25F+iefY3RLJNNLatmvnUcgiKg4= 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=/2tvjMqvheFPaxDToxnSUfvJvW4njbPu/uUoO+4TLH8=; b=JjIxpfVhuTaCCoYmN/+Ixgf59Mh8cOcyvJHQxBrgoklK+kF3nepTgOqU33fSlgyGbZ gdm+edsQarbBosBuQYVhK0S8M2Thm1ntJLFUNiR6/JIn4o8MPabaPa/+tK5TauHMO+by A2PU9AkJTg+0X34eoBKxgkyjEu67pvkk86VdOg6AZxGx+965bajvoMaiyyL6IwHhvKyH lSNxB9Mq7wyFOYIc2vPEFhjiLw/3mBG7gADwIeBTfUo80SiyKzP1FOBtcWsnrVaU783d 1wPtbXPlBRQnnx1g9JrYWxdixJC4jbVtFCV4Di17Zd49x7p/QRUv59vdtLz81v9M43wW DlMg== X-Gm-Message-State: AElRT7GsS/wEYNakoHla+Tm8075kj+/5IY+mAoO/zwX0r3CVGlCM+2Sg UUN7iXJYcnQFnuMEwYs3WD6fCJkuB68= X-Received: by 10.80.144.195 with SMTP id d3mr13905117eda.54.1522708950249; Mon, 02 Apr 2018 15:42:30 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id s8sm842086edk.76.2018.04.02.15.42.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Apr 2018 15:42:29 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Mon, 2 Apr 2018 23:42:10 +0100 Message-Id: <1522708936-7603-12-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522708936-7603-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522708936-7603-1-git-send-email-bryan.odonoghue@linaro.org> Cc: breno.lima@nxp.com, rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH v2 11/17] 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 --- 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