Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292010

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

From Geert Uytterhoeven <geert@linux-m68k.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding
Date 2015-12-15 11:10 +0100
Message-ID <qFUIr-2DP-25@gated-at.bofh.it> (permalink)
References (4 earlier) <qCUlz-7fn-1@gated-at.bofh.it> <qEgk1-2GK-5@gated-at.bofh.it> <qEO2m-8hM-11@gated-at.bofh.it> <qFyyf-4PE-33@gated-at.bofh.it> <qFUyJ-2kW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi David,

On Tue, Dec 15, 2015 at 7:00 AM, David Gibson
<david@gibson.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@xxxx {
>>                         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@linux-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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-12 09:50 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-14 11:30 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-14 13:30 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-15 11:00 +0100
      Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-15 11:10 +0100
        Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-17 02:10 +0100

csiph-web