diff options
| author | Tom Rini <[email protected]> | 2024-12-18 12:34:58 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-18 15:19:16 -0600 |
| commit | b6e1ac89dc0a9d9bba1b803d4577f434669ce44e (patch) | |
| tree | dfbf6aa2fd3a9af4d7900f929d06ea753b009670 /include | |
| parent | b066ac51e0430966d8028bcdfa12f461d9013f57 (diff) | |
| parent | fc37a73e667916e15e01e0f9d189da792df2b351 (diff) | |
Merge patch series "fdt: Correct condition for receiving bloblist"
This series is from Simon Glass <[email protected]>.
It first corrects the test for checking if a bloblist could have come
from TPL and so we check for a device tree, and then changes the
argument order for board_fdt_blob_setup() to be more inline with our
usual argument ordering.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include')
| -rw-r--r-- | include/fdtdec.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h index 555c9520379..58bbd8f392e 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -1191,11 +1191,12 @@ int fdtdec_resetup(int *rescan); * * The existing devicetree is available at gd->fdt_blob * - * @err: 0 on success, -EEXIST if the devicetree is already correct, or other - * internal error code if we fail to setup a DTB - * @returns new devicetree blob pointer + * @fdtp: Existing devicetree blob pointer; update this and return 0 if a + * different devicetree should be used + * Return: 0 on success, -EEXIST if the existing FDT is OK, -ve error code if we + * fail to setup a DTB */ -void *board_fdt_blob_setup(int *err); +int board_fdt_blob_setup(void **fdtp); /* * Decode the size of memory |
