u-boot/scripts/dtc
Matthias Brugger 0ba41ce1b7 libfdt: return correct value if #size-cells property is not present
According to the device tree specification, the default value for
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.

This is based on upstream commit:
aa7254d ("libfdt: return correct value if #size-cells property is not present")
but misses the test case part, as we don't implement them in U-Boot.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2019-10-15 08:40:02 -06:00
..
libfdt libfdt: return correct value if #size-cells property is not present 2019-10-15 08:40:02 -06:00
pylibfdt pylibfdt: Use Python 2 in Makefile 2019-01-15 15:28:45 -05:00
.gitignore scripts/dtc: Re-sync with Linux 4.17-rc4 2018-05-31 08:53:11 -04:00
checks.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
data.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
dtc.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
dtc.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
flattree.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
fstree.c scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
livetree.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
Makefile scripts/dtc: Re-sync with Linux 4.17-rc4 2018-05-31 08:53:11 -04:00
Makefile.dtc scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
srcpos.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
srcpos.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
treesource.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
update-dtc-source.sh scripts/dtc: Re-sync with Linux 4.17-rc4 2018-05-31 08:53:11 -04:00
util.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
util.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
version_gen.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00