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>
master
Daniel Schwierzeck 10 years ago
parent 02611cbb7c
commit b9863b6de2
  1. 4
      arch/mips/Kconfig
  2. 3
      board/dbau1x00/Kconfig
  3. 3
      board/imgtec/malta/Kconfig
  4. 3
      board/micronas/vct/Kconfig
  5. 3
      board/pb1x00/Kconfig
  6. 3
      board/qemu-mips/Kconfig

@ -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

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

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

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

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

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

Loading…
Cancel
Save