Dear Becky Bruce, In message <13110329582097-git-send-email-bec...@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 <bec...@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 <w...@denx.de> Acked-by: Wolfgang Denk <w...@denx.de> Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de If a man had a child who'd gone anti-social, killed perhaps, he'd still tend to protect that child. -- McCoy, "The Ultimate Computer", stardate 4731.3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot