From: Wolfgang Denk Date: Thu, 27 May 2010 22:53:38 +0200 Subject: [U-Boot] [PATCH v2] [RFC] memsize.c: adapt get_ram_size() for address spaces >32 bit In-Reply-To: <4BFECF43.40600@freescale.com> References: <1274983869-9173-1-git-send-email-wd@denx.de> <1274984188-10200-1-git-send-email-wd@denx.de> <20100527194618.GC5915@schlenkerla.am.freescale.net> <20100527195715.CD042EAC238@gemini.denx.de> <4BFECF43.40600@freescale.com> Message-ID: <20100527205338.CCAA8EAC238@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 Scott Wood, In message <4BFECF43.40600@freescale.com> you wrote: > > > Isn't phys_addr_t assumed to be the right data type to hold a > > physical address? > > Yes. But you can't dereference a physical address directly. Ah, right. OK, so this needs more work... 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 The most difficult thing in the world is to know how to do a thing and to watch someone else doing it wrong, without commenting. -- T.H. White