Re: dtc: Use the same endian-conversion functions as libfdt

2008-07-14 Thread Jon Loeliger
> Currently both libfdt and dtc define a set of endian conversion macros > for accessing the device tree blob which is always big-endian. libfdt > uses names like cpu_to_fdt32() and dtc uses names like cpu_to_be32 (as > the Linux kernel). This patch switches dtc over to using the libfdt > macros

dtc: Use the same endian-conversion functions as libfdt

2008-06-24 Thread David Gibson
Currently both libfdt and dtc define a set of endian conversion macros for accessing the device tree blob which is always big-endian. libfdt uses names like cpu_to_fdt32() and dtc uses names like cpu_to_be32 (as the Linux kernel). This patch switches dtc over to using the libfdt macros (including