From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Tue, 20 Feb 2018 16:28:55 +0000 Subject: [U-Boot] [PATCH] board_f: Only reserve memory for U-Boot if we're going to relocate In-Reply-To: References: <20180125175605.6873-1-abrodkin@synopsys.com> Message-ID: <1519144134.6393.90.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Sun, 2018-02-04 at 06:40 -0700, Simon Glass wrote: > Hi Alexey, > > On 25 January 2018 at 10:56, Alexey Brodkin wrote: > > In case of no relocation we'll just waste some paceat the very end > > space at? Sure, thanks for pointing out! > > > of usable memory area. If U-Boot is huge and we cannot use a lot of memory this > > What do you mean by 'U-Boot is huge'? How huge, and why would it be huge? I was talking about relative sizes of U-Boot compared to available RAM. Consider we have less than 1 Mb of RAM and U-Boot's size is ~200 kB - in that case looking 20% of RAM is not what we really want. In more typical case when we have tens, hundreds or thousands of megabytes of RAM essentially loosing even another megabyte makes not much sense :) -Alexey