diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-07-18 23:49:16 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-22 08:07:47 (GMT) |
commit | 51f924e5ce4f69659ef385739f4604054d9b5bb7 (patch) | |
tree | feb642da76d6cb6726eede03341ab51e9ff69f3a /board/netstal/common | |
parent | 9cdfe2810693135773602e7c98b78a4af2873a61 (diff) | |
download | u-boot-51f924e5ce4f69659ef385739f4604054d9b5bb7.tar.xz |
board/tqm85xx: Create and tear down TLB for get_ram_size()
We need a TLB entry to call get_ram_size(); the common code doesn't create
one until *after* fixed_sdram() has determined the size. So we set up tlbs
for the max possible size and tear them down once we're done with
get_ram_size(); the common 85xx code will then set up a final set of tlb
entries for the *actual* detected size of ddr.
This prevents us from having TLB entries that are larger than DDR sitting
around for very long, which is not a recommended scenario.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/netstal/common')
0 files changed, 0 insertions, 0 deletions