From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 3 Feb 2011 08:50:06 +0100 Subject: [U-Boot] mach-type #define mismatch for lange51/efikamx In-Reply-To: <4D4A4BE2.1090209@denx.de> References: <20110203000436.GA28542@bee.dooz.org> <4D4A4BE2.1090209@denx.de> Message-ID: <201102030850.06312.marek.vasut@gmail.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 Thursday 03 February 2011 07:32:02 Stefano Babic wrote: > On 02/03/2011 01:04 AM, Lo?c Minier wrote: > > Hey! > >> > >> iMX5: EfikaMX: Preliminary board support > >> > > u-boot-imx has: > > #define MACH_TYPE_MX51_LANGE51 2336 > > #define MACH_TYPE_MX51_LANGE52 2337 > > > > u-boot-arm has: > > #define MACH_TYPE_MX51_EFIKAMX 2336 > > #define MACH_TYPE_MX51_LANGE52 2337 > > > > and linux has: > > mx51_efikamx MACH_MX51_EFIKAMX MX51_EFIKAMX 2336 > > mx51_lange52 MACH_MX51_LANGE52 MX51_LANGE52 2337 > > > > but board/efikamx/efikamx.c uses MACH_TYPE_MX51_LANGE51 (and hence > > fails to build in u-boot-arm.git and u-boot.git). > > > > So while (Pegatron?) Lange 5.1 and 5.2 might have been more consistent, > > I think we need to switch board/efikamx/efikamx.c to the linux name > > MACH_MX51_EFIKAMX. > > Marek, what do you think about ? It seems that the machine type for > efikamx is wrong. It used to be lange51, that's the official code-name too. They (genesi I guess) seem to have requested an update in linux-arm machine ID database. Obviously, needs a change. Thanks > > Best regards, > Stefano Babic