From: Mike Frysinger Date: Thu, 17 Dec 2009 17:23:50 -0500 Subject: [U-Boot] [PATCH 08/25] Blackfin: kill off useless initdram() usage In-Reply-To: <20091217213346.5E864D43F21@gemini.denx.de> References: <1261017850-22802-1-git-send-email-vapier@gentoo.org> <1261017850-22802-9-git-send-email-vapier@gentoo.org> <20091217213346.5E864D43F21@gemini.denx.de> Message-ID: <200912171723.51435.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 17 December 2009 16:33:46 Wolfgang Denk wrote: > Mike Frysinger wrote: > > While the initdram() function makes sense on some arches, it doesn't for > > Blackfin systems as it's always implemented the same way. > > Would it not make sense to start using get_ram_size(), too? i havent heard of this function before. looking through the tree, it seems like this is an optional board-specific function that probes external memory sizes by reading/writing to it. on a Blackfin system, this is a pretty big waste. memory must always be mapped starting at address 0 which means once the highest address is validated, things can return. ignoring that, the Blackfin port has no relocation support, so the link time addresses are fixed. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20091217/70efce92/attachment.pgp