diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-10-26 16:14:07 +0300 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-11-01 20:18:04 +0300 |
commit | b9863b6de22b48dd863d4385f5a5656ba84138a3 (patch) | |
tree | 25d0e799c7c3c74deb7f9e9a91971a05c35a3b16 /arch/mips | |
parent | 02611cbb7ca56d5dc405cf616ea570ae7bce43fa (diff) | |
download | u-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/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 623ec66a84..b974e8ff07 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 |