On Mon, 7 Feb 2011 15:53:09 -0600 Yoder Stuart-B08248 <[email protected]> wrote:
> Could we not do both? Use an enum to identify the region type: > > reserved = <0x1 0xc00000 0x200000>; /* 2MB ramdisk > reserved = <0x2 0xbf0000 0x1000>; /* devicetree */ > reserved = <0x3 0x1000000 0x400000>; /* framebuffer */ Enums are bad, you're asking for conflicts (this is worse than the mmu type enum, since it's tied to the needs of software which changes faster than hardware). And you can't define the same property multiple times, it'd have to be one large array. -Scott _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
