From: Jean-Michel Hautbois <jhautbois@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: [MPC8272ADS]Problem adding flash partitions inside the device tree
Date: Thu, 12 Feb 2009 10:23:42 +0100 [thread overview]
Message-ID: <8cad0aa0902120123p27cfe32fg6bf08d458178c937@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2422 bytes --]
Hi everybody !
I am currently trying to add the support of partitions for the Flash chip on
my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90).
I have added this part:
flash@0,0 {
compatible = "jedec-flash";
reg = <0x0 0x0 0x2000000>;
bank-width = <4>;
device-width = <1>;
partition@ff800000 {
label = "kernel";
reg = <0xff800000 0x00400000>;
read-only;
};
partition@ffc00000 {
label = "user";
reg = <0xffc00000 0x00300000>;
};
partition@fff00000 {
label = "u-boot";
reg = <0xfff00000 0x00100000>;
read-only;
};
};
But when I am compiling, I have these warnings:
Warning (reg_format): "reg" property in /localbus@f0010100/flash@0
,0/partition@ff800000 has invalid length (8 bytes) (#address-cells == 2,
#size-cells == 1)
Warning (reg_format): "reg" property in /localbus@f0010100/flash@0
,0/partition@ffc00000 has invalid length (8 bytes) (#address-cells == 2,
#size-cells == 1)
Warning (reg_format): "reg" property in /localbus@f0010100/flash@0
,0/partition@fff00000 has invalid length (8 bytes) (#address-cells == 2,
#size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value
for /localbus@f0010100/flash@0,0/partition@ff800000
Warning (avoid_default_addr_size): Relying on default #size-cells value for
/localbus@f0010100/flash@0,0/partition@ff800000
Warning (avoid_default_addr_size): Relying on default #address-cells value
for /localbus@f0010100/flash@0,0/partition@ffc00000
Warning (avoid_default_addr_size): Relying on default #size-cells value for
/localbus@f0010100/flash@0,0/partition@ffc00000
Warning (avoid_default_addr_size): Relying on default #address-cells value
for /localbus@f0010100/flash@0,0/partition@fff00000
Warning (avoid_default_addr_size): Relying on default #size-cells value for
/localbus@f0010100/flash@0,0/partition@fff00000
Can anyone help me ?
I can't understand what the "address-cells" is.
Thanks in advance !
Best Regards.
JM
[-- Attachment #2: Type: text/html, Size: 5159 bytes --]
next reply other threads:[~2009-02-12 9:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 9:23 Jean-Michel Hautbois [this message]
2009-02-12 11:05 ` [MPC8272ADS]Problem adding flash partitions inside the device tree Pieter
2009-02-12 11:10 ` Jean-Michel Hautbois
2009-02-12 13:30 ` David Gibson
2009-02-12 13:36 ` Jean-Michel Hautbois
2009-02-12 14:08 ` Pieter
2009-02-12 14:26 ` Jean-Michel Hautbois
2009-02-12 22:24 ` Scott Wood
2009-02-13 9:25 ` Jean-Michel Hautbois
2009-02-13 16:53 ` Scott Wood
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=8cad0aa0902120123p27cfe32fg6bf08d458178c937@mail.gmail.com \
--to=jhautbois@gmail.com \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).