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 221D0C43334 for ; Wed, 29 Jun 2022 07:06:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 923D38444B; Wed, 29 Jun 2022 09:06:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Rbf5Fo/n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 659848432E; Wed, 29 Jun 2022 09:05:54 +0200 (CEST) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 710D78432E for ; Wed, 29 Jun 2022 09:05:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=joel.stan@gmail.com Received: by mail-pj1-x1031.google.com with SMTP id go6so14875806pjb.0 for ; Wed, 29 Jun 2022 00:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UWox8q9+9wDA+U692ogxuhjykj8BZ7R0CXHyO711XyE=; b=Rbf5Fo/neissfauE+i9rWfAYrXW5zQyWM3TZxIjX3eNAyw0ArWy7ANVwId7vny6koW ZnI5mGoq4p7UFy/fCur0+V72kN/BRQGdSLyWb2EYezMWTirtegMFIEkTzR1WBvnXpf2+ tKMRJc+tnNsRKFI/hCwNVHjWOILsG6ir07LcWQ0hMrjJU5LOAtI1/NOUs6dchPF3W4YD w2YWhHWBWugt6P4/j0QpLXcJKP4bvTvu5YQqdNW761O26P92KvOFdXU371ZzR7ubRJmn TxmCWv6yEfzF5dW1NXUAjBRUjvxe/VDM6VRWInHO39YoSy4ok/K3wgrrCiVnBWDFRzW0 O0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=UWox8q9+9wDA+U692ogxuhjykj8BZ7R0CXHyO711XyE=; b=PiJXwidV/blADEoWLPfFqnvc/lVXuqqarR2A1RojAYKlZlvAL9H23onY/r5iA2CXl5 7+kbhq9MZK+Fbv5CEbjCIGTU3sdNB6idTq8DBWvxeyLv7Nt2U9dSiXlthul/wgg9O6FF cjX9pYNR9CQAFbHjmK4riSYwI68DOf5B4jtu3uTfRMZSSZjOjpUY6PvoAcJP5x3F3+OV a9p68ac3Tmx/+6tZmtOU0SSf2ADykNBogCl08B/nNffD+iHv+h7+VgvEVa8q5AuZyaEe TkB4kpT2CQg0EKjyaQ3TkpfFt2ilCdeNFhZwpkSPMsB6NqwmAjHRu1ejH9OK8N4tSbB2 r1dQ== X-Gm-Message-State: AJIora8wqiHlo8YZf3riwskS3YK1QNO43c8A/gBjIInetW3GcSpUvo/7 DK2hYcI3PRmjpkBefvKo+OTc4SpVCAA= X-Google-Smtp-Source: AGRyM1uCdQ1TIYLExZnVUfdBWmCxaewifiwT2ppv+rtORO7pNuhIRqLHDwdyJpWqHoV220BjJoVrwg== X-Received: by 2002:a17:903:2585:b0:16a:3c86:c76b with SMTP id jb5-20020a170903258500b0016a3c86c76bmr7829084plb.88.1656486349156; Wed, 29 Jun 2022 00:05:49 -0700 (PDT) Received: from voyager.lan ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id g2-20020a170902d5c200b0015e8d4eb29csm10531451plh.230.2022.06.29.00.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 00:05:48 -0700 (PDT) From: Joel Stanley To: u-boot@lists.denx.de, Ryan Chen , Chia-Wei Wang , BMC-SW@aspeedtech.com Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PATCH v2 4/7] spl: Set SPL_MAX_SIZE default for AST2600 Date: Wed, 29 Jun 2022 16:35:22 +0930 Message-Id: <20220629070525.575426-5-joel@jms.id.au> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220629070525.575426-1-joel@jms.id.au> References: <20220629070525.575426-1-joel@jms.id.au> MIME-Version: 1.0 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 The AST2600 bootrom has a max size of 64KB. This can be overridden if the system is running the SPL from SPI NOR and not using secure boot. Signed-off-by: Joel Stanley --- New in v2 common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2ad2351c6eb3..e37aece46eb7 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -82,6 +82,7 @@ config SPL_MAX_SIZE default 0x7fa0 if SUNXI_SRAM_ADDRESS = 0x20000 && !MACH_SUN50I_H616 default 0x7000 if RCAR_GEN3 default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0 + default 0x10000 if ASPEED_AST2600 default 0x0 help Maximum size of the SPL image (text, data, rodata, and linker lists -- 2.35.1