From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Fri, 21 Oct 2011 19:03:47 +0100 Subject: [PATCH 1/2] [ARM] mach-types: Re-add apf9328 In-Reply-To: References: <1318087189-22977-1-git-send-email-gwenhael.goavec-merou@armadeus.com> <20111008192621.GA28049@pengutronix.de> <20111008220722.GG25689@n2100.arm.linux.org.uk> <20111013090609.GT577@pengutronix.de> <20111017084421.GD21648@n2100.arm.linux.org.uk> Message-ID: <20111021180347.GH21648@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Oct 21, 2011 at 03:40:21PM +0530, Bedia, Vaibhav wrote: > I had registered a new mach-id for Texas Instruments' AM335X processor > http://www.arm.linux.org.uk/developer/machines/list.php?id=3589 > > I had given the machine name as " TI AM335 EVM", the machine type as > "am335xevm" and the directory suffix as "omap". > > The type macro (machine_is_am335xevm()) and the Kconfig macro > (CONFIG_MACH_AM335XEVM) are correct. But the machine type variable for > this is showing up as incorrect. > Instead of MACH_TYPE_AM335XEVM it is shown as MACH_TYPE_AM355XEVM. > ^^ ^^ No idea - it is generated by a script and I'd be very surprised if the script knew enough about this stuff to perturb it in that way. > Since the machine type variable is auto-generated can you please tell > me what could have gone wrong and how to fix it? I've just fixed it.