From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 12 Dec 2007 07:09:34 +0100 Subject: [U-Boot-Users] [PATCH 6/6] cfi_flash: Use map_physmem() and unmap_physmem() In-Reply-To: References: <1197386900-14570-7-git-send-email-hskinnemoen@atmel.com> <20071211221040.A8940246C2@gemini.denx.de> Message-ID: <200712120709.34563.sr@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 On Tuesday 11 December 2007, Andrew Dyer wrote: > > Virtual addresses? We don't have virtual memory in U-Boot... > > Virtual addesses don't imply demand paged virtual memory. > > For example on MIPS all software addresses are virtual and go through > a translation to a physical address (granted for some regions of > memory it's just forcing some address bits). Some procs (Au1xxx) go > as far as to require using the TLB to access all of the 36-bit > physical space in the 32-bit virtual space. For u-boot we can usually > get away with a static mapping, but the mapping is still there. Right. We already have this static mapping on most PPC440 platforms too. But here we currently try to match the low 32bits of the physical and the "virtual" address. How should we call such a resulting address if not "virtual address"? Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================