diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-09-06 16:57:05 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-09-06 16:57:05 +0200 |
commit | 969d11b092c33870838e0565dce5670556fff085 (patch) | |
tree | 4d84ad26db8b61a3c35fbe3c84edea877b7f3b17 /kconfig/arch-variant-mips.kconfig | |
parent | 9c13864b684a223d733c95c664d583213821af95 (diff) | |
download | embtoolkit-969d11b092c33870838e0565dce5670556fff085.tar.gz embtoolkit-969d11b092c33870838e0565dce5670556fff085.tar.bz2 embtoolkit-969d11b092c33870838e0565dce5670556fff085.tar.xz |
Put each architecture and their MCU variant in separate files
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig/arch-variant-mips.kconfig')
-rw-r--r-- | kconfig/arch-variant-mips.kconfig | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/kconfig/arch-variant-mips.kconfig b/kconfig/arch-variant-mips.kconfig new file mode 100644 index 0000000..38c25e3 --- /dev/null +++ b/kconfig/arch-variant-mips.kconfig @@ -0,0 +1,104 @@ +################################################################################ +# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# +# This program is free software; you can distribute it and/or modify it +# under the terms of the GNU General Public License +# (Version 2 or later) published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +################################################################################ +# +# \file arch-variant.kconfig +# \brief MIPS architecture kconfig options. +# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# \date August 2009 +################################################################################ + +choice + prompt "Architecture variant" + depends on EMBTK_ARCH_MIPS + default EMBTK_ARCH_MIPS_MIPS32_LITTLE + help + Select architecture variant. + config EMBTK_ARCH_MIPS_MIPS1_LITTLE + bool "MIPS I little endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS1_BIG + bool "MIPS I big endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS2_LITTLE + bool "MIPS II little endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS2_BIG + bool "MIPS II big endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS3_LITTLE + bool "MIPS III little endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS3_BIG + bool "MIPS III big endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS4_LITTLE + bool "MIPS IV little endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS4_BIG + bool "MIPS IV big endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS32_LITTLE + bool "MIPS32 little endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS32_BIG + bool "MIPS32 big endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS32R2_LITTLE + bool "MIPS32 release 2 little endian" + select EMBTK_TARGET_ARCH_32BITS + config EMBTK_ARCH_MIPS_MIPS32R2_BIG + bool "MIPS32 release 2 big endian" + select EMBTK_TARGET_ARCH_32BITS + + config EMBTK_ARCH_MIPS_MIPS64_LITTLE + bool "MIPS64 little endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS64_BIG + bool "MIPS64 big endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS64R2_LITTLE + bool "MIPS64 release 2 little endian" + select EMBTK_TARGET_ARCH_64BITS + config EMBTK_ARCH_MIPS_MIPS64R2_BIG + bool "MIPS64 release 2 big endian" + select EMBTK_TARGET_ARCH_64BITS + +endchoice + +choice + prompt "ABI" + depends on EMBTK_ARCH_MIPS + default EMBTK_ARCH_MIPS_ABI_O32 + help + Here you can select which abi you want to use. + config EMBTK_ARCH_MIPS_ABI_O32 + bool "o32" if !EMBTK_TARGET_ARCH_64BITS + + config EMBTK_ARCH_MIPS_ABI_N32 + bool "n32" if EMBTK_TARGET_ARCH_64BITS + +# config EMBTK_ARCH_MIPS_ABI_EABI +# bool "eabi (BROKEN)" if EMBTK_TARGET_ARCH_64BITS + +# config EMBTK_ARCH_MIPS_ABI_O64 +# bool "o64 (BROKEN)" if EMBTK_TARGET_ARCH_64BITS + + config EMBTK_ARCH_MIPS_ABI_N64 + bool "n64" if EMBTK_TARGET_ARCH_64BITS +endchoice + |