Skip to content

Commit 66dfe7b

Browse files
xakep-amatopfabiobaltieri
authored andcommitted
dts: bindings: xen: add xen,xen.yaml file
Add yaml file for 'xen,xen', because without it an appropriate 'CONFIG_DT_HAS_XEN_XEN_ENABLED' isn't generated. It will be used for checking Xen support on current setup, instead of checking if it is BOARD/SOC "xenvm" (which is not correct for Domain-0 configurations). Remove xen,xen-4.15.yaml at all, because it isn't necessary to have yaml for some specific Xen version. Signed-off-by: Mykola Kvach <[email protected]> Signed-off-by: Dmytro Firsov <[email protected]>
1 parent 40fe366 commit 66dfe7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

boards/arm64/xenvm/xenvm.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
1919

2020
/ {
21-
model = "XENVM-4.15";
22-
compatible = "xen,xenvm-4.15", "xen,xenvm";
21+
model = "XENVM";
22+
compatible = "xen,xenvm";
2323
interrupt-parent = <&gic>;
2424
#address-cells = <0x02>;
2525
#size-cells = <0x02>;
@@ -68,7 +68,7 @@
6868
};
6969

7070
hypervisor: hypervisor@38000000 {
71-
compatible = "xen,xen-4.15", "xen,xen";
71+
compatible = "xen,xen";
7272
reg = <0x00 0x38000000 0x00 0x1000000>;
7373
interrupts = <GIC_PPI 0x0f IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
7474
interrupt-parent = <&gic>;

dts/bindings/xen/xen,xen-4.15.yaml renamed to dts/bindings/xen/xen,xen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: Xen Platform Control Registers
22

3-
compatible: "xen,xen-4.15"
3+
compatible: "xen,xen"
44

55
include: base.yaml
66

0 commit comments

Comments
 (0)