mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
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>
This commit is contained in:
parent
02611cbb7c
commit
b9863b6de2
6 changed files with 4 additions and 15 deletions
|
@ -4,6 +4,10 @@ menu "MIPS architecture"
|
||||||
config SYS_ARCH
|
config SYS_ARCH
|
||||||
default "mips"
|
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
|
config USE_PRIVATE_LIBGCC
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
if TARGET_DBAU1X00
|
if TARGET_DBAU1X00
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "mips32"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "dbau1x00"
|
default "dbau1x00"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
if TARGET_MALTA
|
if TARGET_MALTA
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "mips32"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "malta"
|
default "malta"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
if TARGET_VCT
|
if TARGET_VCT
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "mips32"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "vct"
|
default "vct"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
if TARGET_PB1X00
|
if TARGET_PB1X00
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "mips32"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "pb1x00"
|
default "pb1x00"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
if TARGET_QEMU_MIPS
|
if TARGET_QEMU_MIPS
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "mips32"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "qemu-mips"
|
default "qemu-mips"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue