From patchwork Fri Apr 13 15:31:15 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: 133395 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp854540ljb; Fri, 13 Apr 2018 08:40:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/V7vMBQPVoN5e/KDJofAEe6hI5dHlHqe5g4FboAXs01HK4PQ5odrt1qgbZw70AtI40Q2BE X-Received: by 10.80.165.28 with SMTP id y28mr21065960edb.105.1523634004671; Fri, 13 Apr 2018 08:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523634004; cv=none; d=google.com; s=arc-20160816; b=oel2lm4UuQEc/SdNuwg48hJwQMTE1gqOWR4EKWOwZ0oRz4PNGS8RpX89PV1QN1GFSB 5R7T5u5RZT1KCjJDyTuRZILeT8ackMtvkeOofjW9DmNUPWCDlp/KQcPaxmhWnunW2m00 xu5mGeBoGIiZb23BtkEWRTa9+vxoih2Oj8sQQcO5dgpfdLlnHRoHf4PQwFHjD7+DXbds Jb/CEBJQ+wcrfJvNZycLUYHkz3RKaAPZ3u9vegrJThNaKozxBvyUiuKbLqbT4M9sYNdz G5wFoB1kWUTRzs4VyHo9G5wYAPq/hgPOjNqT0D+qRZk/jAUswb5VHsx+8K2N37nlkWLH S1Ag== 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=K/2xqWLaZ6ba1PHt7tfWmqAoE6YLamIJNb8+XD9M6mRcTp2c1pG+yVlqzTngnj3/Av LqkSGwjTdoBakz9k1wEL5zQqrEwtd/nnJ9PTCfq8gHyptnbTU+SgTOaHWTxYDkzRm547 9hO1Pkmj/wU4aslYIVHKrE6m57nrAeqo9wf8Yuc9FH+DNuOHXaIQISaZpFSFwJp0Y93s rT46BadsOYNtjPKI3FFbdn7mr9SDhJ5mpZtG8RWo76R67qg6puacgltsyjFG9HseNChG py9PY7u/06UmpCTCkI+FVuM4ZBPDk3I/1YsV6/OkjnXVmuvcbUxnFIMBuG5ihCHA1Odt I56A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XynCCBG1; 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 j30si1081209edc.316.2018.04.13.08.40.04; Fri, 13 Apr 2018 08:40:04 -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=XynCCBG1; 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 41ABBC21E13; Fri, 13 Apr 2018 15:34:43 +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_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 44D98C21E4E; Fri, 13 Apr 2018 15:32:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D9411C21E4F; Fri, 13 Apr 2018 15:31:40 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by lists.denx.de (Postfix) with ESMTPS id 2B417C21DB6 for ; Fri, 13 Apr 2018 15:31:36 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id l49so9164964wrl.4 for ; Fri, 13 Apr 2018 08:31:36 -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=XynCCBG1LmERflGqweIF3d6ckD8s1wT172+48/+Ug1vvp79FlAlTSvNFSDZfLbHpZ5 uCw3yuBIF9HXUeISSR51x4EQslpDuHjsSKwOWaBAZ5fvSBkujKdodd6qjfA4zVqSJiGf DIJ9GFQR0kRINyoXkre9vGl1rTPIAGzSVMhEE= 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=dT3hxyvO5WX/YlH2VuEUfyzPD+cjq9+W4qsnDOTFmwA1tvGrBKjxoSKUpgnSzbZUoW 1nRRID4WG/9a4geFwmm8SbBlptc+FNZt++lHGGpvHsDOO/MqjQz4RxpnGfgQdputAbOJ mPBo66oaaV9QpfLeU9odft3LPQhEc7s9gB4Cm3uA9vew4eCMi/BXfPXUUQNVZKwMXIi0 ZVAMPKDKSW2ULMxJ99SueyImRbTt/c3gtPHIV4wIm9bu0xCCULqP68zg1+gVWo4XbhNc SiZ09AozkhKbIIkMI0URzFiRZhkaRHA7u+8DqpQWfSs2w5+33wFPxaTdPOdcjvA3LT7r yf9w== X-Gm-Message-State: ALQs6tAnHMeurw0a49EsORjqc/Ac3/lwa4FGz9R8C3jIjhSjmrUP3N4K J9K1YlUuDH0rF29QJb4xpNNUHDUwMKs= X-Received: by 10.80.215.19 with SMTP id t19mr21253658edi.85.1523633495642; Fri, 13 Apr 2018 08:31:35 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id x35sm3516008edx.86.2018.04.13.08.31.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 08:31:35 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Fri, 13 Apr 2018 16:31:15 +0100 Message-Id: <1523633481-20914-12-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523633481-20914-1-git-send-email-bryan.odonoghue@linaro.org> References: <1523633481-20914-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 v3 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