
Dear Mike Frysinger,
In message 200912171723.51435.vapier@gentoo.org you wrote:
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
Seems you have ignored a lot of messages on this list ;-)
like this is an optional board-specific function that probes external memory sizes by reading/writing to it.
Right, with at least two purposes: detecting memroy errors, and determining the available memory size.
on a Blackfin system, this is a pretty big waste. memory must always be
Waste in terms of ... ?
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.
The memory test alone is a pretty good reason to add this. And don;t you have boards with multiple configurations / different RAM sizes where auto-sizing would be useful?
Best regards,
Wolfgang Denk