linux-mips
[Top] [All Lists]

Re: [PATCH 2/2 RFC] of/mips: Add device tree support to MIPS

To: Grant Likely <grant.likely@secretlab.ca>, ralf@linux-mips.org
Subject: Re: [PATCH 2/2 RFC] of/mips: Add device tree support to MIPS
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 14 Oct 2010 14:09:49 -0700
Cc: benh@kernel.crashing.org, dediao@cisco.com, linux-mips@linux-mips.org, monstr@monstr.eu, dvomlehn@cisco.com, devicetree-discuss@lists.ozlabs.org
In-reply-to: <20101013064416.2743.42892.stgit@localhost6.localdomain6>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20101013064352.2743.80378.stgit@localhost6.localdomain6> <20101013064416.2743.42892.stgit@localhost6.localdomain6>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7
On 10/12/2010 11:48 PM, Grant Likely wrote:
From: Dezhong Diao<dediao@cisco.com>

Add the ability to enable CONFIG_OF on the MIPS architecture.

Signed-off-by: Dezhong Diao<dediao@cisco.com>
[grant.likely@secretlab.ca: cleared out obsolete hooks,
        removed ARCH_HAS_DEVTREE_MEM from being manually selected,
        remove __init tags from header file]
Signed-off-by: Grant Likely<grant.likely@secretlab.ca>
Cc: linux-mips@linux-mips.org
Cc: David Daney<ddaney@caviumnetworks.com>
Cc: David VomLehn<dvomlehn@cisco.com>

As I mentioned in my reply to 1/2, this seems to work,


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


---

I've not tested this on anything, but I picked up the MIPS device tree
patch written by Dezhong and updated it to match the changes in
mainline.  I also half-heartedly tried to rebase the powertv support
patch, didn't get very far due to the refactoring in
arch/mips/powertv/memory.c

Anyway, please take a look and give it a spin.  If it looks good, then
I can add it into my -next branch.

g.

[...]

<Prev in Thread] Current Thread [Next in Thread>