* [PATCH] arm/dt: Print machine name after dt probe @ 2010-07-28 4:45 Grant Likely 2010-07-29 2:40 ` Jeremy Kerr 0 siblings, 1 reply; 3+ messages in thread From: Grant Likely @ 2010-07-28 4:45 UTC (permalink / raw) To: jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ To match the behaviour of mach_type probing Signed-off-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> --- Hi Jeremy, I've got this patch in my tree. I'm going to squash it into "arm/dt: probe for platforms via the device tree". g. arch/arm/kernel/devtree.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 0fc8d16..f8da313 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch/arm/kernel/devtree.c @@ -98,8 +98,10 @@ struct machine_desc * __init parse_devicetree(unsigned int machid, dt_root = of_get_flat_dt_root(); for (mdesc = &__arch_info_begin; mdesc < &__arch_info_end; mdesc++) - if (mdesc->probe_dt && mdesc->probe_dt(dt_root)) + if (mdesc->probe_dt && mdesc->probe_dt(dt_root)) { + printk("Machine: %s\n", mdesc->name); return mdesc; + } return NULL; } ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm/dt: Print machine name after dt probe 2010-07-28 4:45 [PATCH] arm/dt: Print machine name after dt probe Grant Likely @ 2010-07-29 2:40 ` Jeremy Kerr [not found] ` <1280371228.11181.9.camel-353AF/3W9ll+urZeOPWqwQ@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Jeremy Kerr @ 2010-07-29 2:40 UTC (permalink / raw) To: Grant Likely; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ Hi Grant, > To match the behaviour of mach_type probing > > Signed-off-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> > --- > > Hi Jeremy, > > I've got this patch in my tree. I'm going to squash it into "arm/dt: > probe for platforms via the device tree". Looks good. How do you want to manage the trees from here? Are you going to adopt my arm-dt branch (and related branches), or should I keep maintaining it? Cheers, Jeremy ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <1280371228.11181.9.camel-353AF/3W9ll+urZeOPWqwQ@public.gmane.org>]
* Re: [PATCH] arm/dt: Print machine name after dt probe [not found] ` <1280371228.11181.9.camel-353AF/3W9ll+urZeOPWqwQ@public.gmane.org> @ 2010-07-29 7:02 ` Grant Likely 0 siblings, 0 replies; 3+ messages in thread From: Grant Likely @ 2010-07-29 7:02 UTC (permalink / raw) To: Jeremy Kerr; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ On Wed, Jul 28, 2010 at 8:40 PM, Jeremy Kerr <jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> wrote: > Hi Grant, > >> To match the behaviour of mach_type probing >> >> Signed-off-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org> >> --- >> >> Hi Jeremy, >> >> I've got this patch in my tree. I'm going to squash it into "arm/dt: >> probe for platforms via the device tree". > > Looks good. How do you want to manage the trees from here? Are you going > to adopt my arm-dt branch (and related branches), or should I keep > maintaining it? I'm treating my tree as a staging point for linux-next; so I'm happy to cherry pick and stabilize patches, but unfortunately it also means I'm going to continue to rebase a lot, which could mess you up a lot. Let's talk about it on IRC tomorrow night (morning for you) g. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-29 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 4:45 [PATCH] arm/dt: Print machine name after dt probe Grant Likely
2010-07-29 2:40 ` Jeremy Kerr
[not found] ` <1280371228.11181.9.camel-353AF/3W9ll+urZeOPWqwQ@public.gmane.org>
2010-07-29 7:02 ` Grant Likely
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox