[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVUMHEAGSwF=nvbncHEj6Co9f6CofeVqZbrWzhaprBvGQ@mail.gmail.com>
Date: Tue, 15 Dec 2015 11:03:48 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: David Gibson <david@...son.dropbear.id.au>
Cc: Brian Norris <computersforpeace@...il.com>,
Michal Suchanek <hramrach@...il.com>,
Jonas Gorski <jogo@...nwrt.org>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Arnd Bergmann <arnd@...db.de>,
Geert Uytterhoeven <geert+renesas@...der.be>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
devicetree-spec@...r.kernel.org, Simon Arlott <simon@...e.lp0.eu>,
Linus Walleij <linus.walleij@...aro.org>,
Rafał Miłecki <zajec5@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
Rob Herring <robh+dt@...nel.org>,
MTD Maling List <linux-mtd@...ts.infradead.org>,
Hauke Mehrtens <hauke@...ke-m.de>
Subject: Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding
Hi David,
On Tue, Dec 15, 2015 at 7:00 AM, David Gibson
<david@...son.dropbear.id.au> wrote:
>> If the only property needed is the partition table offset, it can be encoded
>> in the unit-address, and the "reg" property:
>>
>> partitions {
>>
>> partition-table@...x {
>> reg = <0xxxx ...>;
>> ...
>> };
>>
>> ...
>> };
>
> Urgh.. and that's abusing the unit address.
Why? The partition is part of the FLASH. In this respect, it doesn't differ
from other hardcoded partitions using the same DT syntax.
It would just have a compatible value indicating it's a partition table.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists