devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH 1/2] ARM: vexpress: add basic DT platform matching support
Date: Thu, 14 Apr 2011 14:54:48 -0600	[thread overview]
Message-ID: <20110414205448.GB5255@ponder.secretlab.ca> (raw)
In-Reply-To: <1302717741-18753-2-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>

On Wed, Apr 13, 2011 at 07:02:20PM +0100, Lorenzo Pieralisi wrote:
> This patch adds a DT match table to the Versatile Express machine
> description in order to enable basic device tree support.
> 
> Tested on a Versatile Express board where the device tree blob is
> passed to the kernel by u-boot.
> 
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>

Merged into devicetree/test & devicetree/arm.  I squashed this with
the second patch while I was at it.  I see that Nicolas has already
picked it up into the Linaro tree, so I don't need to worry about
pushing it to him.  :-)

g.


> ---
>  arch/arm/mach-vexpress/v2m.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c
> index ba46e8e..e318df3 100644
> --- a/arch/arm/mach-vexpress/v2m.c
> +++ b/arch/arm/mach-vexpress/v2m.c
> @@ -437,6 +437,11 @@ static void __init v2m_init(void)
>  	ct_desc->init_tile();
>  }
>  
> +static const char *vexpress_dt_match[] __initdata = {
> +	"arm,vexpress",
> +	NULL,
> +};
> +
>  MACHINE_START(VEXPRESS, "ARM-Versatile Express")
>  	.boot_params	= PLAT_PHYS_OFFSET + 0x00000100,
>  	.map_io		= v2m_map_io,
> @@ -444,4 +449,5 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express")
>  	.init_irq	= v2m_init_irq,
>  	.timer		= &v2m_timer,
>  	.init_machine	= v2m_init,
> +	.dt_compat	= vexpress_dt_match,
>  MACHINE_END
> -- 
> 1.7.4.4
> 
> 

  parent reply	other threads:[~2011-04-14 20:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 18:02 [PATCH 0/2] ARM: vexpress: DT enablement Lorenzo Pieralisi
     [not found] ` <1302717741-18753-1-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2011-04-13 18:02   ` [PATCH 1/2] ARM: vexpress: add basic DT platform matching support Lorenzo Pieralisi
     [not found]     ` <1302717741-18753-2-git-send-email-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
2011-04-14 20:54       ` Grant Likely [this message]
     [not found]         ` <20110414205448.GB5255-e0URQFbLeQY2iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2011-04-15 10:38           ` Lorenzo Pieralisi
2011-04-13 18:02   ` [PATCH 2/2] ARM: vexpress: add basic dts DT source Lorenzo Pieralisi

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=20110414205448.GB5255@ponder.secretlab.ca \
    --to=grant.likely-s3s/wqlpoipyb63q8fvjnq@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).