Fix CPU ID for D2xxx/N2xxx in GRUB2 loader patch (#3526)

Report from @ChernyaevAN in [1] revealed it's 13829424153406670433 in decimal,
which means the endianness was wrong for the CPUs I didn't have available for
testing.

[1] https://github.com/home-assistant/operating-system/issues/3305#issuecomment-2288609199
This commit is contained in:
Jan Čermák 2024-08-14 17:00:03 +02:00 committed by GitHub
parent 2fb1663a35
commit d44d93e4a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ index bfbd95aee..f4fc6d25c 100644
+ * negatives) or partial CPU identification (which might lead to + * negatives) or partial CPU identification (which might lead to
+ * false positives instead). + * false positives instead).
+ */ + */
+ return (processor_id == 0xbfebfbff61060300 // D2xxx/N2xxx + return (processor_id == 0xbfebfbff00030661 // D2xxx/N2xxx
+ || processor_id == 0xbfebfbff000106ca); // D525 + || processor_id == 0xbfebfbff000106ca); // D525
+ } + }
+ else + else