public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses
Date: Tue, 24 Jan 2017 18:13:32 -0500	[thread overview]
Message-ID: <20170124231332.GR22316@bill-the-cat> (raw)
In-Reply-To: <9e0bbce3-c0f7-f7e8-2e33-88503896c0eb@mleia.com>

[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>

  reply	other threads:[~2017-01-24 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 21:31 [U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses Tom Rini
2017-01-24 21:31 ` [U-Boot] [PATCH 2/2] arm: Clean up MACH_TYPE defines in config headers Tom Rini
2017-01-24 22:28 ` [U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses Vladimir Zapolskiy
2017-01-24 23:13   ` Tom Rini [this message]
2017-01-25  1:34     ` Vladimir Zapolskiy
2017-01-25  7:15       ` Igor Grinberg
2017-01-25  7:23       ` Albert ARIBAUD
2017-01-25 12:58         ` Tom Rini
2017-01-25  7:25 ` Igor Grinberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170124231332.GR22316@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox