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: 897990 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="XynCCBG1"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40N24m0BLmz9s1R for ; Sat, 14 Apr 2018 01:39:04 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id C0942C21DEC; Fri, 13 Apr 2018 15:34:44 +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-Google-Smtp-Source: AIpwx4+fdVRq44S2OAC5tys1cD5yT0++B1/gYo7mOQ8bBus0XTqvruq3PWM5tUVDSD5dOEFtoOpxhQ== 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