From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 11 Feb 2014 09:40:30 -0800 Subject: [U-Boot] [PATCH] arm/lib: Add get_effective_memsize() to board.c In-Reply-To: <20140211082115.74709380314@gemini.denx.de> References: <1392069859-24805-1-git-send-email-yorksun@freescale.com> <1392070794.6733.362.camel@snotra.buserror.net> <52F953CB.8090601@freescale.com> <1392071879.6733.365.camel@snotra.buserror.net> <52F958D0.4050004@freescale.com> <20140211082115.74709380314@gemini.denx.de> Message-ID: <52FA608E.5070409@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 On 02/11/2014 12:21 AM, Wolfgang Denk wrote: > Dear York Sun, > > In message <52F958D0.4050004@freescale.com> you wrote: >> >> I see the benefit of putting the code to common file and modify the >> common/cmd_log.c for logbuffer_base(). Can you suggest a location for >> get_effective_memsize(void)? Only powerpc uses this function before this patch. >> Putting into common.h seems too generic. > > common/memsize.c ? > Yes. Thanks. I am working on this file. York