From: Tom Rini Date: Thu, 20 Nov 2014 09:37:48 -0500 Subject: [U-Boot] [PATCH v2 04/11] fdt: Add device tree memory bindings In-Reply-To: References: <1414112337-22735-1-git-send-email-sjg@chromium.org> <1414112337-22735-4-git-send-email-sjg@chromium.org> <20141024184901.GE25506@bill-the-cat> <20141027142411.GV25506@bill-the-cat> <20141112214230.GJ24724@bill-the-cat> Message-ID: <20141120143748.GB21184@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 12, 2014 at 03:14:35PM -0700, Simon Glass wrote: [snip, and sorry for the late reply] > What I am talking about here is the memory for U-Boot - i.e. how does > U-Boot know how much memory is available. The scheme here is that you > can have a board ID which controls this, with the U-Boot device tree > allowing the options to be specified (i.e. the mapping from board ID > to SDRAM banks) OK. So what I'm getting at is how is this different from other boards where we say "Oh, this is $FOO, it has $X LPDRR2 RAM" and "Oh, this is $BAR, it has $Y DDR3 RAM" ? The only thing I'm able to think of is that we cannot call get_ram_size() to see the _size_ of the RAM after doing $whatever to see what board we're on and doing the right configuration for the DDR controller or whatever. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: