From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org, Rob Herring <rob.herring@calxeda.com>
Subject: Re: [PATCH 1/1] highbank: use the provided dtb by the firmware to probe barebox device and mem size
Date: Wed, 13 Feb 2013 09:18:45 +0100 [thread overview]
Message-ID: <20130213081845.GA1906@pengutronix.de> (raw)
In-Reply-To: <1360703460-20379-1-git-send-email-plagnioj@jcrosoft.com>
On Tue, Feb 12, 2013 at 10:11:00PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> the dtb is at 0x1000
>
> if no dtb present use C code device
>
> kepp in C the timer/gpio/uart
>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
> arch/arm/boards/highbank/env/bin/init_board | 7 +++++
> arch/arm/boards/highbank/init.c | 44 ++++++++++++++++++++++++---
> 2 files changed, 47 insertions(+), 4 deletions(-)
> create mode 100644 arch/arm/boards/highbank/env/bin/init_board
>
> diff --git a/arch/arm/boards/highbank/env/bin/init_board b/arch/arm/boards/highbank/env/bin/init_board
We already have:
| commit f59f5e86256f82daf4af3bf1922805592b780613
| Author: Sascha Hauer <s.hauer@pengutronix.de>
| Date: Sat Oct 6 19:51:47 2012 +0200
|
| of: find and register memory during probe
|
| This automatically registers the memory nodes in the devicetree.
|
| Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
I suspect there is something missing since this commit checks for the
'device_type' property, but does not actually test if it matches
'memory'. So there might be some work necessary, but this code already
handles 64bit cells correctly, at least it tries to ;)
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-02-13 8:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 21:11 Jean-Christophe PLAGNIOL-VILLARD
2013-02-12 21:11 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-13 3:16 ` Rob Herring
2013-02-13 9:13 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-13 8:18 ` Sascha Hauer [this message]
2013-02-13 9:53 ` Jean-Christophe PLAGNIOL-VILLARD
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=20130213081845.GA1906@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
--cc=rob.herring@calxeda.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