From: Maxime Ripard Date: Fri, 23 Mar 2018 10:40:41 +0100 Subject: [U-Boot] [PATCH v2 5/6] sunxi: add code for recalculating the DRAM size in U-Boot In-Reply-To: <20180323081857.57138-6-icenowy@aosc.io> References: <20180323081857.57138-1-icenowy@aosc.io> <20180323081857.57138-6-icenowy@aosc.io> Message-ID: <20180323094041.zvmad5eh53u4py7l@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 23, 2018 at 04:18:56PM +0800, Icenowy Zheng wrote: > The get_ram_size() function in U-Boot can only deal with memory size > smaller than 2GiB. To enable the support of 3GiB DRAM on newer 64-bit > SoCs, an alternative way to detect DRAM size is needed. Why not just fixing get_ram_size then? Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com