Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Grant Likely <grant.likely@secretlab.ca>, ralf@linux-mips.org
Cc: benh@kernel.crashing.org, dediao@cisco.com,
	linux-mips@linux-mips.org, monstr@monstr.eu, dvomlehn@cisco.com,
	devicetree-discuss@lists.ozlabs.org
Subject: Re: [PATCH 1/2] of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch
Date: Thu, 14 Oct 2010 14:08:12 -0700	[thread overview]
Message-ID: <4CB7713C.9040303@caviumnetworks.com> (raw)
In-Reply-To: <20101013064352.2743.80378.stgit@localhost6.localdomain6>

On 10/12/2010 11:44 PM, Grant Likely wrote:
> This patch refactors the early init parsing of the chosen node so that
> architectures aren't forced to provide an empty implementation of
> early_init_dt_scan_chosen_arch.  Instead, if an architecture wants to
> do something different, it can either use a wrapper function around
> early_init_dt_scan_chosen(), or it can replace it altogether.
>
> This patch was written in preparation to adding device tree support to
> both x86 ad MIPS.
>
> Signed-off-by: Grant Likely<grant.likely@secretlab.ca>

In conjunction with my 'MIPS: Add some irq definitins required by OF' 
and the '2/2 of/mips: Add device tree support to MIPS' patches, I can 
enable CONFIG_USE_OF, and build and run a kernel on my Octeon.  I 
haven't started using the device tree yet, but this is a good start.

You can add my...

Tested-by: David Daney <ddaney@caviumnetworks.com>


> ---
>   arch/microblaze/kernel/prom.c |    5 -----
>   arch/powerpc/kernel/prom.c    |   12 ++++++++++--
>   drivers/of/fdt.c              |    2 --
>   include/linux/of_fdt.h        |    2 +-
>   4 files changed, 11 insertions(+), 10 deletions(-)
[...]

  parent reply	other threads:[~2010-10-14 21:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13  6:44 [PATCH 1/2] of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch Grant Likely
2010-10-13  6:48 ` [PATCH 2/2 RFC] of/mips: Add device tree support to MIPS Grant Likely
2010-10-14 21:09   ` David Daney
2010-10-18 20:50   ` David Daney
2010-10-18 21:07     ` Grant Likely
2010-10-14 21:08 ` David Daney [this message]
2010-10-15  4:53   ` [PATCH 1/2] of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch Grant Likely

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=4CB7713C.9040303@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=benh@kernel.crashing.org \
    --cc=dediao@cisco.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dvomlehn@cisco.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-mips@linux-mips.org \
    --cc=monstr@monstr.eu \
    --cc=ralf@linux-mips.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