Skip to content

Commit

Permalink
Add intel,x86-64 compat to all x86-64 platforms
Browse files Browse the repository at this point in the history
This will help distinguish 64 and 32-bit platforms by tooling, following
the pattern visible in e.g. RISC-V.

Signed-off-by: Piotr Zierhoffer <[email protected]>
  • Loading branch information
PiotrZierhoffer committed Sep 16, 2024
1 parent 3874a79 commit a433394
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions boards/intel/adl/intel_adl.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@
sdhc0 = &emmc;
};
};

&cpu {
compatible = "intel,x86-64";

Check warning on line 27 in boards/intel/adl/intel_adl.dts

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

boards/intel/adl/intel_adl.dts:27 please, no spaces at the start of a line
};
2 changes: 1 addition & 1 deletion boards/qemu/x86/qemu_x86_64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
cpus {
cpu@1 {
device_type = "cpu";
compatible = "intel,x86";
compatible = "intel,x86-64";
d-cache-line-size = <64>;
reg = <1>;
};
Expand Down
2 changes: 1 addition & 1 deletion boards/qemu/x86/qemu_x86_64_atom_nokpti.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
cpus {
cpu@1 {
device_type = "cpu";
compatible = "intel,x86";
compatible = "intel,x86-64";
d-cache-line-size = <64>;
reg = <1>;
};
Expand Down
2 changes: 1 addition & 1 deletion boards/up-bridge-the-gap/up_squared/up_squared.dts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

cpu@0 {
device_type = "cpu";
compatible = "intel,apollo-lake";
compatible = "intel,apollo-lake", "intel,x86-64";
d-cache-line-size = <64>;
reg = <0>;
};
Expand Down
2 changes: 1 addition & 1 deletion dts/x86/intel/alder_lake.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

cpu@0 {
device_type = "cpu";
compatible = "intel,alder-lake";
compatible = "intel,alder-lake", "intel,x86-64";
d-cache-line-size = <64>;
reg = <0>;
};
Expand Down
2 changes: 1 addition & 1 deletion dts/x86/intel/raptor_lake_p.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#size-cells = <0>;

cpu@0 {
compatible = "intel,raptor-lake";
compatible = "intel,raptor-lake", "intel,x86-64";
device_type = "cpu";
d-cache-line-size = <64>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion dts/x86/intel/raptor_lake_s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

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

0 comments on commit a433394

Please sign in to comment.