1
0
Fork 0

MIPS: kconfig: globally define CONFIG_SYS_CPU for MIPS

Now the user can select the CPU type for each target. Thus
CONFIG_SYS_CPU could be set globally.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
utp
Daniel Schwierzeck 2014-10-26 14:14:07 +01:00
parent 02611cbb7c
commit b9863b6de2
6 changed files with 4 additions and 15 deletions

View File

@ -4,6 +4,10 @@ menu "MIPS architecture"
config SYS_ARCH
default "mips"
config SYS_CPU
default "mips32" if CPU_MIPS32_R1 || CPU_MIPS32_R2
default "mips64" if CPU_MIPS64_R1 || CPU_MIPS64_R2
config USE_PRIVATE_LIBGCC
default y

View File

@ -1,8 +1,5 @@
if TARGET_DBAU1X00
config SYS_CPU
default "mips32"
config SYS_BOARD
default "dbau1x00"

View File

@ -1,8 +1,5 @@
if TARGET_MALTA
config SYS_CPU
default "mips32"
config SYS_BOARD
default "malta"

View File

@ -1,8 +1,5 @@
if TARGET_VCT
config SYS_CPU
default "mips32"
config SYS_BOARD
default "vct"

View File

@ -1,8 +1,5 @@
if TARGET_PB1X00
config SYS_CPU
default "mips32"
config SYS_BOARD
default "pb1x00"

View File

@ -1,8 +1,5 @@
if TARGET_QEMU_MIPS
config SYS_CPU
default "mips32"
config SYS_BOARD
default "qemu-mips"