aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fit_payload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fit_payload.c')
-rw-r--r--src/lib/fit_payload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fit_payload.c b/src/lib/fit_payload.c
index ec947c060e..3e1819d931 100644
--- a/src/lib/fit_payload.c
+++ b/src/lib/fit_payload.c
@@ -119,7 +119,7 @@ static void add_cb_fdt_data(struct device_tree *tree)
struct device_tree_node *coreboot_node = dt_find_node(firmware_node,
coreboot_path, &addr_cells, &size_cells, 1);
- dt_add_string_prop(coreboot_node, "compatible", strdup("coreboot"));
+ dt_add_string_prop(coreboot_node, "compatible", "coreboot");
/* Fetch CB tables from cbmem */
void *cbtable = cbmem_find(CBMEM_ID_CBTABLE);