aboutsummaryrefslogtreecommitdiff
path: root/lib/optee/optee.c
diff options
context:
space:
mode:
authorThierry Reding2021-09-03 15:16:19 +0200
committerTom Warren2021-10-13 14:18:30 -0700
commit46cb067803bef50cb8a1334a56897d05b5f85e02 (patch)
treefaafb8dd57963a9cb6359ccd7cd9f2beee04af84 /lib/optee/optee.c
parent4bf88ba76abb224b3ca258a2f502384ec6c86bd6 (diff)
fdtdec: Support compatible string list for reserved memory
Reserved memory nodes can have a compatible string list to identify the type of reserved memory that they represent. Support specifying an optional compatible string list when creating these nodes. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'lib/optee/optee.c')
-rw-r--r--lib/optee/optee.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/optee/optee.c b/lib/optee/optee.c
index 766d0d9e3fa..3fbde934fb1 100644
--- a/lib/optee/optee.c
+++ b/lib/optee/optee.c
@@ -177,6 +177,7 @@ int optee_copy_fdt_nodes(void *new_blob)
ret = fdtdec_add_reserved_memory(new_blob,
nodename,
&carveout,
+ NULL, 0,
NULL, true);
free(oldname);