From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Tue, 26 Mar 2013 08:26:15 -0700 Subject: [U-Boot] [PATCH 1/2] nitrogen6x: Pass the correct CPU revision to the kernel In-Reply-To: <5151BDB1.10201@boundarydevices.com> References: <1363381594-17077-1-git-send-email-festevam@gmail.com> <5151BDB1.10201@boundarydevices.com> Message-ID: <5151BE17.8040705@boundarydevices.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 03/26/2013 08:24 AM, Eric Nelson wrote: > Hi Fabio, > > > >> --- a/board/boundary/nitrogen6x/nitrogen6x.c >> +++ b/board/boundary/nitrogen6x/nitrogen6x.c >> @@ -330,7 +330,7 @@ int board_mmc_init(bd_t *bis) >> >> u32 get_board_rev(void) >> { >> - return 0x63000; >> + return get_cpu_rev(); >> } >> >> #ifdef CONFIG_MXC_SPI >> > > Since this convention is shared among at least SABRE Lite, SABRE SD, > Nitrogen6x and Wandboard, wouldn't a weak function in imx-common/cpu.c > be a better choice? > Oops. I meant to say arch/arm/cpu/armv7/mx6/soc.c, not imx-common/cpu.c.