From: Wolfgang Denk Date: Wed, 17 Sep 2014 07:33:43 +0200 Subject: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes In-Reply-To: <201409162355.22221.marex@denx.de> References: <1410779188-6880-1-git-send-email-marex@denx.de> <201409162243.27305.marex@denx.de> <201409162355.22221.marex@denx.de> Message-ID: <20140917053343.E59353823EB@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 Marek, In message <201409162355.22221.marex@denx.de> you wrote: > > ... For the get_ram_size(), the read > from the unpopulated DRAM space contains zeroes ... Reading from non-existent memory is not guaranteed to return zeroes, nor any other specific value; in general, the value you read back is undefined. 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 It is practically impossible to teach good programming style to stu- dents that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. - Dijkstra