Files
android_external_dtc/tests
John Clarke aa7254d9cb libfdt: return correct value if #size-cells property is not present
According to the device tree specification, the default value for
#size-cells is 1, but fdt_size_cells() was returning 2 if this property
was not present.

This patch also makes fdt_address_cells() and fdt_size_cells() conform
to the behaviour documented in libfdt.h. The defaults are only returned
if fdt_getprop() returns -FDT_ERR_NOTFOUND, otherwise the actual error
is returned.

Signed-off-by: John Clarke <johnc@kirriwa.net>
2018-11-07 14:13:12 +11:00
..
2017-12-15 13:26:57 +11:00
2018-03-07 14:55:39 +11:00
2007-02-15 11:02:44 -06:00
2007-02-15 11:02:44 -06:00
2007-02-15 11:02:44 -06:00
2017-03-06 12:08:53 +11:00
2012-07-08 13:45:21 -05:00
2018-09-10 16:46:59 +10:00
2018-06-07 11:49:14 +10:00
2017-03-06 12:08:53 +11:00
2017-03-06 12:08:53 +11:00
2017-02-24 11:12:50 +11:00
2017-03-06 12:08:53 +11:00
2017-10-26 09:25:14 +02:00
2017-03-06 12:08:53 +11:00
2018-07-09 15:03:14 +10:00
2007-02-15 11:02:44 -06:00
2007-02-15 11:02:44 -06:00
2017-06-15 15:37:07 +08:00
2018-09-10 16:46:59 +10:00
2017-03-06 12:08:53 +11:00