From: Tom Rini Date: Fri, 10 Aug 2012 09:08:07 -0700 Subject: [U-Boot] [PATCH 07/11] u8500: Moving processor-specific functions to cpu area. In-Reply-To: <1343761173-1135-8-git-send-email-mathieu.poirier@linaro.org> References: <1343761173-1135-1-git-send-email-mathieu.poirier@linaro.org> <1343761173-1135-8-git-send-email-mathieu.poirier@linaro.org> Message-ID: <20120810160807.GB3306@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 31, 2012 at 12:59:29PM -0600, mathieu.poirier at linaro.org wrote: > From: "Mathieu J. Poirier" > > Functions such as providing power to the MMC device and reading > the processor version register should be in the cpu area for > access by multiple u8500-based boards. > > Signed-off-by: Mathieu Poirier > Signed-off-by: John Rigby [snip] > +static int cpu_is_u8500v2(void) > +{ > + return read_cpuid() == CPUID_DB8500V2; > +} This isn't used yet, so causes a new warning. I'm moving this (and the define) to the next patch, where they are used. With that change and my Signed-off-by, applied to u-boot-staging/trini at ti.com -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: