From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sat, 22 Mar 2008 11:19:40 +0100 Subject: [U-Boot-Users] [PATCH] ppc: Add CONFIG_TOP_HIDE option to hide memory area that doesn't get "touched" In-Reply-To: <200803221104.53441.matthias.fuchs@esd-electronics.com> References: <1206098241-26134-1-git-send-email-sr@denx.de> <200803221104.53441.matthias.fuchs@esd-electronics.com> Message-ID: <200803221119.40539.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 Hi Matthias, On Saturday 22 March 2008, Matthias Fuchs wrote: > I followed this discussion. The DU440 board will also need this fix. > On the PMC440 board we reserved the top memory region for > some PCI accessable shared memory. I will check how we can > handle skipping the top 256 bytes and provide a patch for both of our > 440EPx boards soon. Good. > I did not get into much depth with this issue, but your fix will make the > logbuffer ram and pram unaligned to a page boundary. I am not sure if this > is a good idea. Let's say you want to ioremap the pram under Linux you > cannot let the mapped region end at log bufferbuffer start address because > it just lost its alignment on a 4k page boundary. Good point. If nobody objects I'll change the size of CFG_MEM_TOP_HIDE from 256 to 4k in the next patch version. Thanks. 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 =====================================================================