[U-Boot] [PATCH 08/25] Blackfin: kill off useless initdram() usage

Mike Frysinger vapier at gentoo.org
Thu Dec 17 23:23:50 CET 2009


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 


More information about the U-Boot mailing list