From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98096C2B9F4 for ; Fri, 25 Jun 2021 13:08:12 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CB816161E for ; Fri, 25 Jun 2021 13:08:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CB816161E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de 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) 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegjedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehmrghilhhfrhhomhepmh grgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Jun 2021 09:06:10 -0400 (EDT) From: Maxime Ripard To: u-boot@lists.denx.de, Andre Przywara Cc: Peng Fan , Li Jun , Marek Vasut , Tom Rini , Miquel Raynal , Jagan Teki , Maxime Ripard 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 --- configs/CHIP_pro_defconfig | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.31.1