From: Shaojun Yang <yangshaojun@xxxxxxxxxxxxxx> Signed-off-by: Shaojun Yang <yangshaojun@xxxxxxxxxxxxxx> --- src/cpu_map/arm_FT-2000plus.xml | 6 ++++++ src/cpu_map/arm_Tengyun-S2500.xml | 6 ++++++ src/cpu_map/arm_vendors.xml | 1 + src/cpu_map/index.xml | 4 ++++ src/cpu_map/meson.build | 2 ++ 5 files changed, 19 insertions(+) create mode 100644 src/cpu_map/arm_FT-2000plus.xml create mode 100644 src/cpu_map/arm_Tengyun-S2500.xml diff --git a/src/cpu_map/arm_FT-2000plus.xml b/src/cpu_map/arm_FT-2000plus.xml new file mode 100644 index 0000000..b532f65 --- /dev/null +++ b/src/cpu_map/arm_FT-2000plus.xml @@ -0,0 +1,6 @@ +<cpus> + <model name='FT-2000+'> + <vendor name='Phytium'/> + <pvr value='0x662'/> + </model> +</cpus> diff --git a/src/cpu_map/arm_Tengyun-S2500.xml b/src/cpu_map/arm_Tengyun-S2500.xml new file mode 100644 index 0000000..22b865e --- /dev/null +++ b/src/cpu_map/arm_Tengyun-S2500.xml @@ -0,0 +1,6 @@ +<cpus> + <model name='Tengyun-S2500'> + <vendor name='Phytium'/> + <pvr value='0x663'/> + </model> +</cpus> diff --git a/src/cpu_map/arm_vendors.xml b/src/cpu_map/arm_vendors.xml index ff799ef..4465463 100644 --- a/src/cpu_map/arm_vendors.xml +++ b/src/cpu_map/arm_vendors.xml @@ -11,4 +11,5 @@ <vendor name='Qualcomm' value='0x51'/> <vendor name='Marvell' value='0x56'/> <vendor name='Intel' value='0x69'/> + <vendor name='Phytium' value='0x70'/> </cpus> diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 08f052e..065d9ae 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -103,5 +103,9 @@ <!-- Hisilicon-based CPU models --> <include filename='arm_Kunpeng-920.xml'/> + + <!-- Phytium-based CPU models --> + <include filename='arm_FT-2000plus.xml'/> + <include filename='arm_Tengyun-S2500.xml'/> </arch> </cpus> diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index b86612b..7eeec6d 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -5,6 +5,8 @@ cpumap_data = [ 'arm_Falkor.xml', 'arm_features.xml', 'arm_Kunpeng-920.xml', + 'arm_FT-2000plus.xml', + 'arm_Tengyun-S2500.xml', 'arm_ThunderX299xx.xml', 'arm_vendors.xml', 'index.xml', -- 2.7.4