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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D7496C6FA82 for ; Wed, 14 Sep 2022 16:48:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C9EB84AB6; Wed, 14 Sep 2022 18:48:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="j6auZESP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F441841B7; Wed, 14 Sep 2022 18:48:37 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 30E3D841B7 for ; Wed, 14 Sep 2022 18:48:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B4C7F61A33; Wed, 14 Sep 2022 16:48:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0ED4C433D6; Wed, 14 Sep 2022 16:48:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663174107; bh=hDt98tcf7o0g1Lhw93YWGvN1iKxKorwcSnHVymgeWxo=; h=From:To:Cc:Subject:Date:From; b=j6auZESPNVdj7ArLnv4FgwLN3/Y1V3xWgomtZgCrLebohbD8oVmDo8QaOUlM4aovV CeQN/fHXHWcX2NbGn09M7MWX7arvKE3MKosiP20cv3t+rfS6eUS7zSK4JHSdDOiFE1 1DRgEt81slJ5QZsLc67tSpwYtVzNh5nnGrOVkVJExnMe4K4vXSRREUik/XvbPO5F6B c+2hiQyZVvEMEcmmjw6J/Wt+NpBRqChDZkCk+IhIK4O8Jmw07ijV5TeR0XjemaeE7C D1zrwEZ7yGSzf0u0SDY/tLTXKHl+Jo4OHs4bK5zp3lIezDMWp2vMgw/T2kXQ1S6OoA y+btd2zXw0rxQ== Received: by pali.im (Postfix) id C68AD7B8; Wed, 14 Sep 2022 18:48:23 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: u-boot@lists.denx.de Subject: [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs Date: Wed, 14 Sep 2022 18:48:16 +0200 Message-Id: <20220914164816.5589-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean 32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (= 0x30000) limit as default value for SPL_SIZE_LIMIT. Signed-off-by: Pali Rohár --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 70d97815f0a1..29e2f92f9b03 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -40,6 +40,7 @@ config SPL_SIZE_LIMIT hex "Maximum size of SPL image" default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB + default 0x30000 if ARCH_MVEBU && ARMADA_32BIT default 0x0 help Specifies the maximum length of the U-Boot SPL image. -- 2.20.1