From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 26 May 2010 15:24:29 -0500 Subject: [U-Boot] [PATCH] powerpc: add support for the Freescale P1022DS reference board In-Reply-To: <20100526201014.97886EAC238@gemini.denx.de> References: <1274392909-16422-1-git-send-email-timur@freescale.com> <20100520223324.50594CCF026@gemini.denx.de> <4BFC1736.5030902@freescale.com> <20100526201014.97886EAC238@gemini.denx.de> Message-ID: <4BFD837D.2040508@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 Wolfgang Denk wrote: > It appears you really haven't bothered checking. We have been using > it on PowerPC since day 1 - for well over 10 years by now. On many, > many systems. Get a clue! I've looked at get_ram_size(), and I don't think I can use it. We use phys_addr_t to represent DDR sizes, which is a 64-bit integer on the P1022DS. get_ram_size() takes a 'long' and returns a 'long', so it's not capable of handling the amount of memory that we support on the board. I can use get_ram_size() to test the lower 2GB of DDR, but I can't use it to verify the amount of RAM in the system. -- Timur Tabi Linux kernel developer at Freescale