summaryrefslogtreecommitdiffstats
path: root/cpukit/dtc/libfdt/fdt_strerror.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-19libfdt: add missing errors to fdt_strerror()Benjamin Fair1-0/+3
Some error values were missing from the table which meant that they could not be translated by fdt_strerror(). Signed-off-by: Benjamin Fair <b-fair@ti.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-07-19fdt: strerr: Remove spurious BADOVERLAYMaxime Ripard1-1/+0
There's one FDT_ERR_BADOVERLAY too many in the fdt error table. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-07-19libfdt: Add BADPHANDLE error stringMaxime Ripard1-0/+1
The BADPHANDLE error was missing a string, leading to an <unknown error> string being returned if you were to call fdt_strerror. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-07-19libfdt: Add new errors for the overlay codeMaxime Ripard1-0/+3
Add a few new error codes to report the failure conditions we might encounter in the overlay application code: - FDT_ERR_BADOVERLAY, when an overlay cannot be parsed, even though its structure is correct - FDT_ERR_NOPHANDLES, when we ran out of available phandles and we cannot use a new phandle without either using an invalid one (-1 or 0), or one already used. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2015-10-16libfdt: Initial importSebastian Huber1-0/+96
Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z