From: Wolfgang Denk Date: Thu, 03 Jul 2014 09:45:52 +0200 Subject: [U-Boot] [PATCH] ARM: tegra: Use mem size from MC rather than ODMDATA In-Reply-To: <53B47F6F.1090405@wwwdotorg.org> References: <1404331950-4916-1-git-send-email-swarren@wwwdotorg.org> <20140702211821.3EFF6380185@gemini.denx.de> <53B47F6F.1090405@wwwdotorg.org> Message-ID: <20140703074552.23B59380996@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stephen, In message <53B47F6F.1090405@wwwdotorg.org> you wrote: > > > Is there a specific reason for not using get_ram_size()? > > Since we know the exact RAM size, we may as well simply use it directly > rather than "probing" for it. You _think_ you know the size, but you can never be sure that all this RAM is actually present and working. There has been many discussions before why using get_ram_size() makes a lot of sense even in fixed size RAM configurations. 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: wd at denx.de You have the capacity to learn from mistakes. You'll learn a lot today.