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 C594CC3DA78 for ; Sat, 14 Jan 2023 23:57:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA33A85203; Sun, 15 Jan 2023 00:57:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=diskos.nl 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; secure) header.d=diskos.nl header.i=@diskos.nl header.b="x2fcZ2Wz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD5E4851A4; Sun, 15 Jan 2023 00:57:39 +0100 (CET) Received: from smtp.delft.diskos.nl (smtp.delft.diskos.nl [45.80.169.141]) (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 7DAF2851A4 for ; Sun, 15 Jan 2023 00:57:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=diskos.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=joost@diskos.nl Received: from [10.135.128.1] (smtp.delft.diskos.nl [45.80.169.141]) by smtp.delft.diskos.nl (Postfix) with ESMTPSA id 2F90B8D032; Sun, 15 Jan 2023 00:57:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diskos.nl; s=mail; t=1673740656; bh=yB593CmaqnjGEuY51tz/ScVVldZhkb5ZSNqKyYuyJXg=; h=Date:From:Subject:To:Cc:From; b=x2fcZ2WzKMuHK8HGHA3z2useDkkqsW6wvN3bdowG1zzBehxlDO8FO27AkFMojMqmo ao1wMF82DJTrCRpMjBM/v4DnRVOnnEYJFjFmTNL+BFLe/Q+AVPtPa+N5VjUUTSpYsn iFq4GauStne9Lg7ppgK1lI9m5G5oadtomHc+kxCftu5blN0Hgt+fTDd7jDkbmCb6+O 4GNvizmzh/JYEYtgalsSJRnT03PC+QbD/zNsvYi00U1dO79Q9piKWZvmgRygFizEAp GMM2ytzaDSeXurxz6ElNVQJ/ENZoMI1iSuyVMmsPK/jd/jk0GL+YuABPaHvJVAdAym YrajgYA20rs+A== Date: Sun, 15 Jan 2023 00:57:30 +0100 From: Joost van Zwieten Subject: [PATCH] odroid: limit boot memory to lowmem To: u-boot@lists.denx.de Cc: trini@konsulko.com Message-Id: X-Mailer: geary/3.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed 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 Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default value of the `bootm_size` environment variable. For the odroid board this caused the initrd and fdt to be placed in highmem. This patch restricts the boot data conservatively to 256MB. Signed-off-by: Joost van Zwieten --- include/configs/odroid.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/odroid.h b/include/configs/odroid.h index 560a23c23e..7255efc2df 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -17,6 +17,7 @@ #define CFG_SYS_PL310_BASE 0x10502000 #endif +#define CFG_SYS_BOOTMAPSZ 0x10000000 #define CFG_SYS_SDRAM_BASE 0x40000000 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ #define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE -- 2.30.2