Changeset 2679534b in rtems for cpukit/dtc


Ignore:
Timestamp:
Sep 30, 2016, 1:57:14 PM (3 years ago)
Author:
Maxime Ripard <maxime.ripard@…>
Branches:
master
Children:
b0ceda54
Parents:
f670acbf
git-author:
Maxime Ripard <maxime.ripard@…> (09/30/16 13:57:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/19/18 05:01:09)
Message:

libfdt: Add new errors for the overlay code

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@…>
Signed-off-by: David Gibson <david@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/dtc/libfdt/fdt_strerror.c

    rf670acbf r2679534b  
    7777        FDT_ERRTABENT(FDT_ERR_BADSTRUCTURE),
    7878        FDT_ERRTABENT(FDT_ERR_BADLAYOUT),
     79        FDT_ERRTABENT(FDT_ERR_BADOVERLAY),
     80        FDT_ERRTABENT(FDT_ERR_BADOVERLAY),
     81        FDT_ERRTABENT(FDT_ERR_NOPHANDLES),
    7982};
    8083#define FDT_ERRTABSIZE  (sizeof(fdt_errtable) / sizeof(fdt_errtable[0]))
Note: See TracChangeset for help on using the changeset viewer.