Skip to content

Commit

Permalink
Divide Intel Atom CPU compatible to x86 and x86_64
Browse files Browse the repository at this point in the history
atom.dtsi enforces "intel,x86", but it doesn't help us discern if the
platform is 32 or 64-bit. We do that for example in RISC-V and it's
useful from the tooling perspective.

Signed-off-by: Piotr Zierhoffer <[email protected]>
  • Loading branch information
PiotrZierhoffer committed Sep 16, 2024
1 parent 23eca63 commit 9a1be32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions boards/acrn/acrn/acrn.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@
status = "okay";
current-speed = <115200>;
};

&cpu {
compatible = "intel,x86-64";
};
4 changes: 4 additions & 0 deletions boards/qemu/x86/qemu_x86.dts
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,7 @@
};
};
};

&cpu {
compatible = "intel,x86";
};
3 changes: 1 addition & 2 deletions dts/x86/intel/atom.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
#address-cells = <1>;
#size-cells = <0>;

cpu@0 {
cpu: cpu@0 {
device_type = "cpu";
compatible = "intel,x86";
d-cache-line-size = <64>;
reg = <0>;
};
Expand Down

0 comments on commit 9a1be32

Please sign in to comment.