38ad79d33946590c862567c7cbdf25b5a46d8149 |
|
14-Nov-2012 |
Kim Phillips <kim.phillips@freescale.com> |
dtc/tests: don't include fdt.h prior to libfdt.h tests will need fdt type definitions provided in a subsequent patch to libfdt_env.h. Since libfdt.h includes libfdt_env.h in the right order anyway, just remove the fdt.h include. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/nop_property.c
|
9521dc5ecc66c158cd6853cabba2c29f545780f6 |
|
20-Nov-2007 |
David Gibson <david@gibson.dropbear.id.au> |
libfdt: Abolish _typed() variants, add _cell() variants In a number of places through libfdt and its tests, we have *_typed() macro variants on functions which use gcc's typeof and statement expression extensions to allow passing literals where the underlying function takes a buffer and size. These seemed like a good idea at the time, but in fact they have some problems. They use typeof and statement expressions, extensions I'd prefer to avoid for portability. Plus, they have potential gotchas - although they'll deal with the size of the thing passed, they won't deal with other representation issues (like endianness) and results could be very strange if the type of the expression passed isn't what you think it is. In fact, the only users of these _typed() macros were when the value passed is a single cell (32-bit integer). Therefore, this patch removes all these _typed() macros and replaces them with explicit _cell() variants which handle a single 32-bit integer, and which also perform endian convesions as appropriate. With this in place, it now becomes easy to use standardized big-endian representation for integer valued properties in the testcases, regardless of the platform we're running on. We therefore do that, which has the additional advantage that all the example trees created during a test run are now byte-for-byte identical regardless of platform. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/nop_property.c
|
63dc9c7113cd0fff60d04b05cd8053e70279f9d4 |
|
18-Sep-2007 |
David Gibson <david@gibson.dropbear.id.au> |
dtc: Whitespace cleanup This large patch removes all trailing whitespace from dtc (including libfdt, the testsuite and documentation). It also removes a handful of redundant blank lines (at the end of functions, or when there are two blank lines together for no particular reason). As well as anything else, this means that quilt won't whinge when I go to convert the whole of libfdt into a patch to apply to the kernel. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/nop_property.c
|
12578976fe9cef82f0c08db3f9a4f550f5085ba4 |
|
14-Jun-2007 |
David Gibson <dgibson@mulberryst.seuss> |
Merge libfdt into dtc. Having pulled the libfdt repository into dtc, merge the makefiles and testsuites so that they build together usefully.
/external/dtc/tests/nop_property.c
|