[U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses
Tom Rini
trini at konsulko.com
Wed Jan 25 00:13:32 CET 2017
[re-sending without a URL in it]
On Wed, Jan 25, 2017 at 12:28:47AM +0200, Vladimir Zapolskiy wrote:
> Hi Tom,
>
> On 01/24/2017 11:31 PM, Tom Rini wrote:
> > We have a number of instances of platforms that define a MACH_TYPE_xxx
> > value and number. We are currently synced with the latest vales from
> > the Linux Kernel and in turn if numbers are not used there it is because
> > they were never officially used anywhere. We drop all our instances of
> > these numbers.
>
> [snip]
>
> > diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
> > index a71f67c352bb..f9066e7521a1 100644
> > --- a/include/configs/devkit3250.h
> > +++ b/include/configs/devkit3250.h
> > @@ -13,12 +13,6 @@
> > #include <linux/sizes.h>
> > #include <asm/arch/cpu.h>
> >
> > -/*
> > - * Define DevKit3250 machine type by hand until it lands in mach-types
> > - */
> > -#define MACH_TYPE_DEVKIT3250 3697
> > -#define CONFIG_MACH_TYPE MACH_TYPE_DEVKIT3250
> > -
>
> in fact this is a registered ARM machine type for the board, please
> reference the list on http://www.arm.linux.org.uk/developer/machines/
So I talked with rmk about this quickly and the reduced list, which is
what the kernel uses and I also wish to use is the reduced list of
MACH_TYPE_xxx and the short version is that the reduced list only
includes the MACH_TYPE_xxx values that were used in mainline rather than
just registered. Perhaps instead of saying "officially used" I should
make it clearer that it means used in the upstream linux kernel?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170124/ea3b6506/attachment.sig>
More information about the U-Boot
mailing list