
Dear Becky Bruce,
In message 13110329582097-git-send-email-beckyb@kernel.crashing.org you wrote:
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
board/tqc/tqm85xx/sdram.c | 7 +++++++ include/configs/TQM85xx.h | 6 ++++++ 2 files changed, 13 insertions(+), 0 deletions(-)
Tested on TQM8555 / TQM8560.
Tested-by: Wolfgang Denk wd@denx.de Acked-by: Wolfgang Denk wd@denx.de
Best regards,
Wolfgang Denk