8000 versal-virt: update compatible string for vxworks 25.03 by ho28 · Pull Request #32 · Wind-River/qemu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

versal-virt: update compatible string for vxworks 25.03 #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Hide whitespace
Diff view
6 changes: 5 additions & 1 deletion hw/arm/xlnx-versal-virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ struct VersalVirt {
static void fdt_create(VersalVirt *s)
{
MachineClass *mc = MACHINE_GET_CLASS(s);
static const char * const versal_compat[2] = {
"xlnx,versal", "amd,versal"
};
int i;

s->fdt = create_device_tree(&s->fdt_size);
Expand Down Expand Up @@ -92,7 +95,8 @@ static void fdt_create(VersalVirt *s)
qemu_fdt_setprop_cell(s->fdt, "/", "#size-cells", 0x2);
qemu_fdt_setprop_cell(s->fdt, "/", "#address-cells", 0x2);
qemu_fdt_setprop_string(s->fdt, "/", "model", mc->desc);
qemu_fdt_setprop_string(s->fdt, "/", "compatible", "xlnx,versal");
qemu_fdt_setprop_string_array(s->fdt, "/", "compatible",
(char **)&versal_compat, ARRAY_SIZE(versal_compat));
}

static void fdt_add_clk_node(VersalVirt *s, const char *name,
Expand Down
0