From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Staaf Subject: Re: [PATCH v4 2/3] dtc: Support character literals in cell lists Date: Mon, 19 Sep 2011 09:45:34 -0700 Message-ID: References: <1315595791-25793-1-git-send-email-robotboy@chromium.org> <1315595791-25793-3-git-send-email-robotboy@chromium.org> <20110912004437.GG9025@yookeroo.fritz.box> <20110919020034.GJ9025@yookeroo.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20110919020034.GJ9025-787xzQ0H9iQXU02nzanrWNbf9cGiqdzd@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: David Gibson Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Sun, Sep 18, 2011 at 7:00 PM, David Gibson wrote: > On Sat, Sep 17, 2011 at 11:49:21AM -0500, Jon Loeliger wrote: >> > On Fri, Sep 09, 2011 at 12:16:30PM -0700, Anton Staaf wrote: >> > > With this patch the following property assignment: >> > > >> > > =A0 =A0 property =3D <0x12345678 'a' '\r' 100>; >> > > >> > > is equivalent to: >> > > >> > > =A0 =A0 property =3D <0x12345678 0x00000061 0x0000000D 0x00000064> >> > > >> > > Signed-off-by: Anton Staaf >> > >> > Acked-by: David Gibson >> >> So, I *think* we want to wait until the question of size >> is resolved some more, right? =A0Or, take this in any event >> as "without a type indicator they are all 32-bit values"? > > No this patch is fine to take without changing the cell size > semantics. =A0It's just that it becomes a lot more useful when we do get > those. Yup, I'm working on a size patch by the way. Any comments on my previous post about it would be helpful. But in the mean time I'm going ahead with a solution where the current cell size is stored in the "struct data" type references are not allowed in cell lists of size other than 32 bits. Thanks, Anton > -- > David Gibson =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| I'll have my music = baroque, and my code > david AT gibson.dropbear.id.au =A0| minimalist, thank you. =A0NOT _the_ _= other_ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| _way_ _a= round_! > http://www.ozlabs.org/~dgibson >