@@ -414,8 +414,10 @@ ifeq ($(TARGET_ARCH),mips)
CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4
CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32
CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R2)+=-march=mips32r2 -mtune=mips32r2
+ CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R6)+=-march=mips32r6 -mtune=mips32r6
CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32
CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R2)+=-mips64r2 -mtune=mips64r2
+ CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R6)+=-mips64r6 -mtune=mips64r6
CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
@@ -48,6 +48,21 @@ config CONFIG_MIPS_NAN_2008
endchoice
choice
+ prompt "Target NAN Encoding"
+ default CONFIG_MIPS_NAN_LEGACY
+ help
+ This is the NAN Encoding you want to use. Chose either Legacy
+ or 2008.
+
+config CONFIG_MIPS_NAN_LEGACY
+ bool "LEGACY"
+
+config CONFIG_MIPS_NAN_2008
+ bool "2008"
+
+endchoice
+
+choice
prompt "Target Processor Architecture"
default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI
@@ -84,10 +99,16 @@ config CONFIG_MIPS_ISA_MIPS32
config CONFIG_MIPS_ISA_MIPS32R2
bool "MIPS32r2"
+config CONFIG_MIPS_ISA_MIPS32R6
+ bool "MIPS32r6"
+
config CONFIG_MIPS_ISA_MIPS64
bool "MIPS64"
config CONFIG_MIPS_ISA_MIPS64R2
bool "MIPS64r2"
+config CONFIG_MIPS_ISA_MIPS64R6
+ bool "MIPS64r6"
+
endchoice
This patch adds mips32r6 and mips64r6 architecture options to the MIPS build. Signed-off-by: Steve Ellcey <sellcey@imgtec.com> --- Rules.mak | 2 ++ extra/Configs/Config.mips | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+)