diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-07-18 18:49:16 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-22 03:07:47 -0500 |
commit | 51f924e5ce4f69659ef385739f4604054d9b5bb7 (patch) | |
tree | feb642da76d6cb6726eede03341ab51e9ff69f3a /common/cmd_ide.c | |
parent | 9cdfe2810693135773602e7c98b78a4af2873a61 (diff) | |
download | u-boot-imx-51f924e5ce4f69659ef385739f4604054d9b5bb7.zip u-boot-imx-51f924e5ce4f69659ef385739f4604054d9b5bb7.tar.gz u-boot-imx-51f924e5ce4f69659ef385739f4604054d9b5bb7.tar.bz2 |
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 'common/cmd_ide.c')
0 files changed, 0 insertions, 0 deletions