arch/mips/: Fix architectures' references in Kconfigs and Toolchain.defs.

This commit is contained in:
Ouss4
2020-02-10 16:24:37 +00:00
committed by patacongo
parent 0dc1dc605d
commit 90043390ff
4 changed files with 95 additions and 87 deletions
+7 -2
View File
@@ -37,11 +37,16 @@ config ARCH_MIPS32
default n default n
select ARCH_HAVE_VFORK select ARCH_HAVE_VFORK
config ARCH_MIPS_24KC config ARCH_MIPS_M4K
bool bool
default n default n
config ARCH_MIPS_M14K config ARCH_MIPS_MICROAPTIV
bool
default n
select ARCH_HAVE_MICROMIPS
config ARCH_MIPS_M5150
bool bool
default n default n
select ARCH_HAVE_MICROMIPS select ARCH_HAVE_MICROMIPS
+6 -3
View File
@@ -122,11 +122,14 @@ endif
# Pick correct MIPS architecture selection # Pick correct MIPS architecture selection
ifeq ($(CONFIG_ARCH_MIPS_M14K),y) ifeq ($(CONFIG_ARCH_MIPS_M5150),y)
MIPS_MARCH = m14k MIPS_MARCH = mips32r2
MIPS_MPROCESSOR = elf32pic32mz
else ifeq ($(CONFIG_ARCH_MIPS_MICROAPTIV), y)
MIPS_MARCH = mips32r2
MIPS_MPROCESSOR = elf32pic32mz MIPS_MPROCESSOR = elf32pic32mz
else else
MIPS_MARCH = 24kc MIPS_MARCH = m4k
MIPS_MPROCESSOR = elf32pic32mx MIPS_MPROCESSOR = elf32pic32mx
endif endif
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -14,7 +14,7 @@ config ARCH_CHIP_PIC32MZ2048ECH
bool "PIC32MZ2048ECH" bool "PIC32MZ2048ECH"
select ARCH_CHIP_PIC32MZEC select ARCH_CHIP_PIC32MZEC
---help--- ---help---
Microchip PIC32MZ2048ECH (MIPS32 M14K) such as the Microchip PIC32MZ2048ECH (MIPS32 microAptiv) such as the
PIC32MZ2048ECH144-I/PH used with the PIC32MZ EC STARTER KIT PIC32MZ2048ECH144-I/PH used with the PIC32MZ EC STARTER KIT
DM320006 (no longer available) DM320006 (no longer available)
@@ -22,7 +22,7 @@ config ARCH_CHIP_PIC32MZ2048ECM
bool "PIC32MZ2048ECM" bool "PIC32MZ2048ECM"
select ARCH_CHIP_PIC32MZEC select ARCH_CHIP_PIC32MZEC
---help--- ---help---
Microchip PIC32MZ2048ECM with Crypto Engine (MIPS32 M14K) such as Microchip PIC32MZ2048ECM with Crypto Engine (MIPS32 microAptiv) such as
the ARCH_CHIP_PIC32MZ2048ECM144-I/PH used with the PIC32MZ EC the ARCH_CHIP_PIC32MZ2048ECM144-I/PH used with the PIC32MZ EC
STARTER KIT DM320006-C (no longer available) STARTER KIT DM320006-C (no longer available)
@@ -30,7 +30,7 @@ config ARCH_CHIP_PIC32MZ2048EFH
bool "PIC32MZ2048EFH" bool "PIC32MZ2048EFH"
select ARCH_CHIP_PIC32MZEF select ARCH_CHIP_PIC32MZEF
---help--- ---help---
Microchip PIC32MZ2048EFH (MIPS32 M14K) such as the Microchip PIC32MZ2048EFH (MIPS32 M5150) such as the
PIC32MZ2048EFH144-I/PH used in the PIC32MZ EF STARTER KIT or as the PIC32MZ2048EFH144-I/PH used in the PIC32MZ EF STARTER KIT or as the
PIC32MZ2048EFH100 used with the Mikroe Flip&Click for PIC32MZ. PIC32MZ2048EFH100 used with the Mikroe Flip&Click for PIC32MZ.
@@ -38,7 +38,7 @@ config ARCH_CHIP_PIC32MZ2048EFM
bool "PIC32MZ2048EFM" bool "PIC32MZ2048EFM"
select ARCH_CHIP_PIC32MZEF select ARCH_CHIP_PIC32MZEF
---help--- ---help---
Microchip PIC32MZ2048EFH with Crypto Engine (MIPS32 M14K) such as Microchip PIC32MZ2048EFH with Crypto Engine (MIPS32 M5150) such as
the PIC32MZ2048EFM144-I/PH used in the PIC32MZ EF STARTER KIT the PIC32MZ2048EFM144-I/PH used in the PIC32MZ EF STARTER KIT
endchoice endchoice
@@ -46,14 +46,14 @@ endchoice
config ARCH_CHIP_PIC32MZEC config ARCH_CHIP_PIC32MZEC
bool bool
default n default n
select ARCH_MIPS_M14K select ARCH_MIPS_MICROAPTIV
select MIPS32_HAVE_ICACHE select MIPS32_HAVE_ICACHE
select MIPS32_HAVE_DCACHE select MIPS32_HAVE_DCACHE
config ARCH_CHIP_PIC32MZEF config ARCH_CHIP_PIC32MZEF
bool bool
default n default n
select ARCH_MIPS_M14K select ARCH_MIPS_M5150
select MIPS32_HAVE_ICACHE select MIPS32_HAVE_ICACHE
select MIPS32_HAVE_DCACHE select MIPS32_HAVE_DCACHE