Message ID | 20210625130547.2177920-13-maxime@cerno.tech |
---|---|
State | RFC |
Delegated to: | Andre Przywara |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=cerno.tech header.i=@cerno.tech header.a=rsa-sha256 header.s=fm3 header.b=bRg7rkDI; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=AWmnOBsS; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GBHPR4qk5z9sV8 for <incoming@patchwork.ozlabs.org>; Fri, 25 Jun 2021 23:08:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D0D982C4A; Fri, 25 Jun 2021 15:06:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=cerno.tech Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=cerno.tech header.i=@cerno.tech header.b="bRg7rkDI"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="AWmnOBsS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2AE2782C24; Fri, 25 Jun 2021 15:06:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0A84E82C1B for <u-boot@lists.denx.de>; Fri, 25 Jun 2021 15:06:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=cerno.tech Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxime@cerno.tech Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 480B65C0101; Fri, 25 Jun 2021 09:06:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 25 Jun 2021 09:06:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=guVFaKjcblQEl 0CKX2x4GGx/o4mpcecPxnqtbj4Bqd8=; b=bRg7rkDIXhUWR3xPsobEVnhphBajp 2xDVUhcL1tPXxCoAtNIesAj6hk0K4lxQpf6oBBrlGUqf62j6PCvM8n3yEjutynrM z+EizSDNFpeB+1wIrk5OBx6vLMh7FRthWQ9tTcEVd7wm516gvmFq17xn/AJrjvIt Ez3TWlnu0Smm/k7pT6RCxOoWc3GEZGTF+LpYHeiYQofk0560wbYfkSRTXxcKnfCy v2Ey2CMMiHVMIKXwsL/C4FMuaWrRgDchvbzxU+MQWXJotY6wPm9eBLzm+fueaOdK sLfL8QpvXUkcxcVQVEQBAbb2j+0WIuSIp+IXv9UfQxsyvDcDgqz1Oe0gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=guVFaKjcblQEl0CKX2x4GGx/o4mpcecPxnqtbj4Bqd8=; b=AWmnOBsS taG07IvCyJ+CWmMoDCSCUbh5HQxI49GknXYgO/tgAKnojbQc6ZKJcfQc1Ll1lkxs /eo9To6Zl9jWbTyo01oZoS5Nup2hlkPnbA8FpejNKHh+dyfol7IduJghEf7lU4A0 kTrceOmsi0FWcK2nGb4yMcM0lvUHO3BlYFazgFXykA9Nbtvm+i4ynJDaPFU0X3cf guaj1Kq8APis221DfnA3lx3vTodv9JlYXrVF9AzSUBvZMpoAZNKAbzjbfXtmmznE XCByi6rqXZQY/HYx3I+1rC28wbwYWBR+hD2aFghHTEuegRWYyftuzraPJEs+UTH5 QNWFuhAG9mQaCA== X-ME-Sender: <xms:xNTVYCzVmxfs3yQkU0dJRTbzt6uoT7akMw8d6mQHFCXNYKZ_LBqp9w> <xme:xNTVYORnZQMuoVD3pIyUa9sSg6n53x6JqVOUo87EoHp9UuewHn9fugCvnSMP4VeZC o5HyAU_qgdAquW1jyg> X-ME-Received: <xmr:xNTVYEVsFANzsCr-xoewSnqh0hzjcV5FNa6OuCC6pgRkjUcD9n5iDl7TbPb3YYLbhhrP_XtWJbdXqQjRC4uBVpiRGUg72WeCd1tq> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegjedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: <xmx:xNTVYIiDd5OeAN0MkNqG7s2otVr6wWM1LztGvTuFoVf7RbmM6VpRZg> <xmx:xNTVYED1spfuIKkvo5z-10Xm_mnDprnE-Ed8jtfk9kIomZGLNG-cCg> <xmx:xNTVYJKIcHcFdFN78f1L2Lpw9Qvb345DbOQ14BWUB2ereLJaselBBw> <xmx:xdTVYCCzSC09tXjl7ePRGD8mKuUZ0ojW3YNuA9dsz7XQW4zTI6WpTg> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Jun 2021 09:06:11 -0400 (EDT) From: Maxime Ripard <maxime@cerno.tech> To: u-boot@lists.denx.de, Andre Przywara <andre.przywara@arm.com> Cc: Peng Fan <peng.fan@nxp.com>, Li Jun <jun.li@nxp.com>, Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Jagan Teki <jagan@amarulasolutions.com>, Maxime Ripard <maxime@cerno.tech> Subject: [PATCH 12/12] configs: chip pro: Fix NAND Controller name Date: Fri, 25 Jun 2021 15:05:47 +0200 Message-Id: <20210625130547.2177920-13-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210625130547.2177920-1-maxime@cerno.tech> References: <20210625130547.2177920-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
Random Fixes for the CHIP Pro
|
expand
|
diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig index d8b8f477772d..b9e72ddefde5 100644 --- a/configs/CHIP_pro_defconfig +++ b/configs/CHIP_pro_defconfig @@ -9,8 +9,8 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro" CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MTDPARTS=y -CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0" -CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)" +CONFIG_MTDIDS_DEFAULT="nand0=1c03000.nand-controller" +CONFIG_MTDPARTS_DEFAULT="mtdparts=1c03000.nand-controller:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)" CONFIG_ENV_IS_IN_UBI=y CONFIG_ENV_UBI_PART="UBI" CONFIG_ENV_UBI_VOLUME="uboot-env"
The controller name in Linux isn't sunxi_nand.0 but 1c03000.nand-controller, preventing us from passing the mtdparts variable directly on the kernel command line. Let's adjust our value to match what Linux expects. Signed-off-by: Maxime Ripard <maxime@cerno.tech> --- configs/CHIP_pro_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)