Re: [Qemu-devel] [PATCH 02/31] dt: add helpers for 2, 3 and 4 cell adds

2012-06-06 Thread Alexander Graf
On 06/06/2012 07:01 AM, Peter Crosthwaite wrote: On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: We have device tree helpers that allow us to create single cell (u32) wide properties. However, when creating properties that contain an array of cells, we need to jump through hoops,

Re: [Qemu-devel] [PATCH 02/31] dt: add helpers for 2, 3 and 4 cell adds

2012-06-06 Thread Scott Wood
On 06/06/2012 10:55 AM, Alexander Graf wrote: On 06/06/2012 07:01 AM, Peter Crosthwaite wrote: On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: We have device tree helpers that allow us to create single cell (u32) wide properties. However, when creating properties that contain an

[Qemu-devel] [PATCH 02/31] dt: add helpers for 2, 3 and 4 cell adds

2012-06-05 Thread Alexander Graf
We have device tree helpers that allow us to create single cell (u32) wide properties. However, when creating properties that contain an array of cells, we need to jump through hoops, manually passing in an array with converted endianness. To ease the pain of this a bit, create helpers for the

Re: [Qemu-devel] [PATCH 02/31] dt: add helpers for 2, 3 and 4 cell adds

2012-06-05 Thread Peter Crosthwaite
On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: We have device tree helpers that allow us to create single cell (u32) wide properties. However, when creating properties that contain an array of cells, we need to jump through hoops, manually passing in an array with converted