Message ID | 20210625130547.2177920-12-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=85.214.62.61; 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=HRuPpDim; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Xz6iFrmg; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4GBHPC36Lmz9sV8 for <incoming@patchwork.ozlabs.org>; Fri, 25 Jun 2021 23:08:15 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 531BE82C41; Fri, 25 Jun 2021 15:06:53 +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="HRuPpDim"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Xz6iFrmg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D2D3782C2B; Fri, 25 Jun 2021 15:06:22 +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 68D5D82C23 for <u-boot@lists.denx.de>; Fri, 25 Jun 2021 15:06:11 +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 compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A52015C00FB; Fri, 25 Jun 2021 09:06:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 25 Jun 2021 09:06:10 -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=DeZyx93UJLfv1 asB6FCUbR4+mcwXEKpeN/KM2bfTCyA=; b=HRuPpDimM1vH311+L57as2VvEfUJd QFOJ8b/P4aYMXUNXqxlaJ85K5PXzJ6tBMkpi4e3PHz3Vz8d7ARfYRaugJ0zexXsQ 0o90rZYqks5hMCHScAroGAJqVJlFTUnrVb3IYEh1VMpegJNtuhDiQf/REPwQkBtm CCl4bgkP+VVXPkMqPb7reFxXAE3DkrBMLg3WHeXu8e0btoLP9OdAPleg08ei3ElN D3d55UBdA1OA+SP9vb6K/0zRrjwdXO1ZMq/TPIEHf1R7F1IDbfb1xv5xs1zXnl1f nqAMLfHu/Ckarm8PLuEKFbevWlV1yFkp3OnnuVvchPSw+KwztWfieZWfg== 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=DeZyx93UJLfv1asB6FCUbR4+mcwXEKpeN/KM2bfTCyA=; b=Xz6iFrmg aNOtoRXPdk+7W7QbODBZfhbqPu3mUTJFHpmqKYpRfODLEchvtOtr0OpCdxKuC9sf WMXvyPsBrfn64BK4mBOfiNoHghtOwALWixM0uilc/Mxak8h6BVjkixdsCLTLtLBx Eo99WEJOItlxaRqCl33ZIK9Dizmgz7QuVmsNM8ERhLNLIWW3rrOA5kDOlX6uBI8L t+YwqYsYOWNghGotqU0d+Og6mIppxg4gmH8PthAaqqA++d/ojfF2SZ8UhW9uS+1P MbdAvziarpS/TyjY/FJx6hbpCA0Y/rZg2M9u8F5DqXxXfNhSWS14cGX7zL/6yv5B NEb9+9FjqKohkA== X-ME-Sender: <xms:wtTVYB94cyIqTzV0zuPMW_OfWiPHrFgyb2wDwA5ka_iO4XixiQEgoQ> <xme:wtTVYFsboE8hvh_PZvbDWlTFWz_G1MEqEB5PZXAbrVUg0HQt0BzbKWZuQn-u6cV-5 lhkbYR2_seD6u-Wzw0> X-ME-Received: <xmr:wtTVYPC_A9nlEbNlvdVPkpDqq5ob5w4-AODOkEtYwwHqwSnJuPessN-lAhQXcd1wi9Fh-HCoYXaG-Jkl02XnDWqCG0QcBEin-Zgm> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegjedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: <xmx:wtTVYFfFLRuW3OpigMVsM1pjn2qq5NwvkN7ipOv3t-aRKpMqjRwbXg> <xmx:wtTVYGP0QEw3oOd7AjMA7gvv0xiR9izl_YJxz4U_iIAHDJEanf4ppw> <xmx:wtTVYHmcY3nHvawp6WGxJCAeRRv_m4l2gA8Pa91zluQWgRPr3vaZLA> <xmx:wtTVYFcyg-8C_LMFYLHPxE-vjTszbQNSLVGz8RKqca9J7o1BhGqK-g> Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Jun 2021 09:06:10 -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 11/12] configs: chip pro: fix the offsets Date: Fri, 25 Jun 2021 15:05:46 +0200 Message-Id: <20210625130547.2177920-12-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 c8e2e2ae2ca3..d8b8f477772d 100644 --- a/configs/CHIP_pro_defconfig +++ b/configs/CHIP_pro_defconfig @@ -20,6 +20,8 @@ CONFIG_MTD_RAW_NAND=y CONFIG_SYS_NAND_BLOCK_SIZE=0x40000 CONFIG_SYS_NAND_PAGE_SIZE=0x1000 CONFIG_SYS_NAND_OOBSIZE=0x100 +CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000 +CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x280000 CONFIG_AXP_ALDO3_VOLT=3300 CONFIG_AXP_ALDO4_VOLT=3300 CONFIG_CONS_INDEX=2
The CHIP Pro MTD partition table sets the U-Boot offset at 512kB (0x80000), and its backup at 2.5MB (0x280000). However, the default value for both of these on sunxi is 8MB (0x800000), which doesn't work in our case. Fix this. Signed-off-by: Maxime Ripard <maxime@cerno.tech> --- configs/CHIP_pro_defconfig | 2 ++ 1 file changed, 2 insertions(+)