From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 04/11] of/flattree: eliminate cell_t typedef Date: Thu, 26 Nov 2009 18:06:11 +1100 Message-ID: <1259219171.16367.331.camel@pasglop> References: <20091124081827.6216.1896.stgit@angua> <1259207974.16367.226.camel@pasglop> <20091125.232818.-1350498258.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091125.232818.-1350498258.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: "M. Warner Losh" Cc: sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org, microblaze-uclinux-rVRm/Wmeqae7NGdpmJTKYQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, 2009-11-25 at 23:28 -0700, M. Warner Losh wrote: > In message: > > Grant Likely writes: > : Word from Mitch is the device tree is network byte order. period. > > OpenFirmware defines the order to be big endian always, even on little > endian processors. Right, that's the only sane way to do it, I just didn't remember off hand what was said in the OF spec :-) Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Date: Thu, 26 Nov 2009 07:06:11 +0000 Subject: Re: [PATCH 04/11] of/flattree: eliminate cell_t typedef Message-Id: <1259219171.16367.331.camel@pasglop> List-Id: References: <20091124081827.6216.1896.stgit@angua> <1259207974.16367.226.camel@pasglop> <20091125.232818.-1350498258.imp@bsdimp.com> In-Reply-To: <20091125.232818.-1350498258.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "M. Warner Losh" Cc: sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org, microblaze-uclinux-rVRm/Wmeqae7NGdpmJTKYQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org On Wed, 2009-11-25 at 23:28 -0700, M. Warner Losh wrote: > In message: > > Grant Likely writes: > : Word from Mitch is the device tree is network byte order. period. > > OpenFirmware defines the order to be big endian always, even on little > endian processors. Right, that's the only sane way to do it, I just didn't remember off hand what was said in the OF spec :-) Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH 04/11] of/flattree: eliminate cell_t typedef From: Benjamin Herrenschmidt To: "M. Warner Losh" In-Reply-To: <20091125.232818.-1350498258.imp@bsdimp.com> References: <20091124081827.6216.1896.stgit@angua> <1259207974.16367.226.camel@pasglop> <20091125.232818.-1350498258.imp@bsdimp.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 Nov 2009 18:06:11 +1100 Message-ID: <1259219171.16367.331.camel@pasglop> Mime-Version: 1.0 Cc: sfr@canb.auug.org.au, microblaze-uclinux@itee.uq.edu.au, devicetree-discuss@lists.ozlabs.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, davem@davemloft.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2009-11-25 at 23:28 -0700, M. Warner Losh wrote: > In message: > > Grant Likely writes: > : Word from Mitch is the device tree is network byte order. period. > > OpenFirmware defines the order to be big endian always, even on little > endian processors. Right, that's the only sane way to do it, I just didn't remember off hand what was said in the OF spec :-) Cheers, Ben.