From 8dc049bae678df8abf070fefdce6b307a83f86c5 Mon Sep 17 00:00:00 2001 From: Phil Yang Date: Thu, 31 Jan 2019 18:11:52 +0800 Subject: [PATCH] build: support Cortex a55 and a76 platforms Enable native/cross compiling for Cortex-A55 and Cortex-A76 on meson. Signed-off-by: Phil Yang Reviewed-by: Ola Liljedahl Reviewed-by: Gavin Hu --- config/arm/arm64_armv8_linuxapp_gcc | 2 ++ config/arm/meson.build | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/arm/arm64_armv8_linuxapp_gcc b/config/arm/arm64_armv8_linuxapp_gcc index 5137609177..67dd9a97d9 100644 --- a/config/arm/arm64_armv8_linuxapp_gcc +++ b/config/arm/arm64_armv8_linuxapp_gcc @@ -18,8 +18,10 @@ implementor_id = 'generic' # 'default': valid for all armv8-a architectures (default value) # '0xd03': cortex-a53 # '0xd04': cortex-a35 +# '0xd05': cortex-a55 # '0xd07': cortex-a57 # '0xd08': cortex-a72 # '0xd09': cortex-a73 # '0xd0a': cortex-a75 +# '0xd0b': cortex-a76 implementor_pn = 'default' diff --git a/config/arm/meson.build b/config/arm/meson.build index 4e3bc6a19c..8e892fa776 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -12,10 +12,12 @@ machine_args_generic = [ ['native', ['-march=native']], ['0xd03', ['-mcpu=cortex-a53']], ['0xd04', ['-mcpu=cortex-a35']], + ['0xd05', ['-mcpu=cortex-a55']], ['0xd07', ['-mcpu=cortex-a57']], ['0xd08', ['-mcpu=cortex-a72']], ['0xd09', ['-mcpu=cortex-a73']], ['0xd0a', ['-mcpu=cortex-a75']], + ['0xd0b', ['-mcpu=cortex-a76']], ] machine_args_cavium = [ ['default', ['-march=armv8-a+crc+crypto','-mcpu=thunderx']], -- 2.20.1