From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: robherring2@gmail.com, inux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Grant Likely <grant.likely@secretlab.ca>,
devicetree-discuss@lists.ozlabs.org,
Rob Herring <rob.herring@calxeda.com>
Subject: Re: [PATCH v4 32/71] ARC: [DeviceTree] Basic support
Date: Wed, 30 Jan 2013 17:26:12 +0530 [thread overview]
Message-ID: <51090A5C.8090802@synopsys.com> (raw)
In-Reply-To: <5108FF13.7080404@imgtec.com>
On Wednesday 30 January 2013 04:38 PM, James Hogan wrote:
> Hi Vineet
>
> On 29/01/13 13:55, Vineet Gupta wrote:
>> diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
>> index a353849..7666857 100644
>> --- a/arch/arc/Kconfig
>> +++ b/arch/arc/Kconfig
>> @@ -24,8 +24,11 @@ config ARC
>> + select OF
>> diff --git a/arch/arc/Makefile b/arch/arc/Makefile
>> index 4d52a3b..29b5fcd 100644
>> --- a/arch/arc/Makefile
>> +++ b/arch/arc/Makefile
>> @@ -83,6 +83,9 @@ head-y := arch/arc/kernel/head.o
>> +# w/o this dtb won't embed into kernel binary
>> +core-y += arch/arc/boot/dts/
>> diff --git a/arch/arc/boot/dts/Makefile b/arch/arc/boot/dts/Makefile
>> new file mode 100644
>> index 0000000..ea3114c
>> --- /dev/null
>> +++ b/arch/arc/boot/dts/Makefile
>> @@ -0,0 +1,17 @@
>> +ifeq ($(CONFIG_OF),y)
> This doesn't seem necessary since you select OF (and if you didn't you
> could put core-$(CONFIG_OF) in the main Makefile.
Right - taken care of.
>
>> diff --git a/arch/arc/kernel/Makefile b/arch/arc/kernel/Makefile
>> index 6d83431..eeab7c79 100644
>> --- a/arch/arc/kernel/Makefile
>> +++ b/arch/arc/kernel/Makefile
>> @@ -7,6 +7,7 @@
>>
>> obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
>> obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
>> +obj-y += devtree.o
> nit: whitespace is inconsistent here.
OK !
>> diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
>> index 82ac206..27aebd6 100644
>> --- a/arch/arc/kernel/setup.c
>> +++ b/arch/arc/kernel/setup.c
>> @@ -71,6 +76,8 @@ void __init setup_arch(char **cmdline_p)
>> strlcpy(boot_command_line, command_line, COMMAND_LINE_SIZE);
>> *cmdline_p = command_line;
>>
>> + rc = setup_machine_fdt(__dtb_start);
> Should this panic or something if it fails? Actually I see it does in
> your -next branch, so I guess it's fixed in a later patch.
Yes, it does in [62/71] when the return value is a machine description which is
NULL. Since my DT support was incrementally added - this patch only enables
printing the board name from the "early" flattened DT and does no more - and
doesn't care if that succeeds or not.
> So other than the stuff above:
> Reviewed-by: James Hogan <james.hogan@imgtec.com>
Thx,
-Vineet
prev parent reply other threads:[~2013-01-30 11:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1359024639-21915-1-git-send-email-vgupta@synopsys.com>
[not found] ` <1359024639-21915-1-git-send-email-vgupta-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2013-01-24 10:50 ` [PATCH v3 32/71] ARC: [DeviceTree] Basic support Vineet Gupta
2013-01-28 10:21 ` James Hogan
2013-01-29 9:53 ` Vineet Gupta
2013-01-29 10:06 ` James Hogan
[not found] ` <1359024639-21915-15-git-send-email-vgupta-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2013-01-29 13:25 ` Rob Herring
[not found] ` <5107CDD3.3050502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-01-29 13:39 ` Vineet Gupta
2013-01-29 13:55 ` [PATCH v4 " Vineet Gupta
2013-01-30 11:08 ` James Hogan
2013-01-30 11:56 ` Vineet Gupta [this message]
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=51090A5C.8090802@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=arnd@arndb.de \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=inux-kernel@vger.kernel.org \
--cc=james.hogan@imgtec.com \
--cc=linux-arch@vger.kernel.org \
--cc=rob.herring@calxeda.com \
--cc=robherring2@gmail.com \
/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).