summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-10-26 13:14:07 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-11-01 17:18:04 (GMT)
commitb9863b6de22b48dd863d4385f5a5656ba84138a3 (patch)
tree25d0e799c7c3c74deb7f9e9a91971a05c35a3b16 /arch/mips
parent02611cbb7ca56d5dc405cf616ea570ae7bce43fa (diff)
downloadu-boot-b9863b6de22b48dd863d4385f5a5656ba84138a3.tar.xz
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 623ec66..b974e8f 100644
--- a/arch/mips/Kconfig
+++ b/arch/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