From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Tue, 30 Mar 2010 10:32:26 -0500 Subject: [U-Boot] [PATCH v2] mpc86xx: set the DDR BATs after calculating true DDR size In-Reply-To: <11C30A08-AD5C-496E-96A7-877B33352583@kernel.crashing.org> References: <1269959143-15581-1-git-send-email-galak@kernel.crashing.org> <4BB20CA8.30700@freescale.com> <28AF45F6-CF0E-4597-840A-F699C62BABE7@kernel.crashing.org> <4BB216FD.4070404@freescale.com> <11C30A08-AD5C-496E-96A7-877B33352583@kernel.crashing.org> Message-ID: <4BB2198A.1070408@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kumar Gala wrote: > We can make this work by updating how get_effective_memsize() works in lib_ppc/board.c. We just need to make it aware of the amount of mapped memory. Is this something you want handled in this patch? > The simplest thing might be to just add in a gd->mem_map_size to deal with the issue on both 86xx/44x/85xx I don't know about 44x, but like I said, I don't think it's a problem in 85xx, because we use up to 8 TLBs to map DDR, which is more than enough to cover all memory size possibilities. -- Timur Tabi Linux kernel developer at Freescale