From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Fri, 1 Apr 2016 13:23:02 +0200 Subject: [U-Boot] [PATCH 7/6] sunxi: Reserve ATF memory space on A64 In-Reply-To: <1459509134.4440.21.camel@hellion.org.uk> References: <1459265351-19812-1-git-send-email-agraf@suse.de> <1459353236-153290-1-git-send-email-agraf@suse.de> <1459508785.4440.20.camel@hellion.org.uk> <56FE56AE.8080305@suse.de> <1459509134.4440.21.camel@hellion.org.uk> Message-ID: <56FE5A16.1080201@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01.04.16 13:12, Ian Campbell wrote: > On Fri, 2016-04-01 at 13:08 +0200, Alexander Graf wrote: >> >> On 01.04.16 13:06, Ian Campbell wrote: >>> >>> On Wed, 2016-03-30 at 17:53 +0200, Alexander Graf wrote: >>>> >>>> On the A64 we usually boot with ATF running in EL3. ATF as it is available >>>> today resides in the first 16MB of RAM. So we should make sure we reserve >>>> that space in our memory maps. >>> Would using fdt_add_mem_rsv() be better than fiddling with the DRAM >>> banks? >> Nope, because that wouldn't populate into the EFI memory descriptors ;). > > Isn't that a bug? ;-) I guess to make this clean we'd need a new API that both calls fdt_add_mem_rsv() and an efi allocate. And yes, it's a bug :). Alex