config/arch/arm.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Oct 26 09:10:38 2009 +0100 (2009-10-26)
changeset 1596 ca1bf632da51
parent 1594 9c0766bed0d2
child 1597 fa8f3ab724f9
permissions -rw-r--r--
arch/arm: add THUMB mode config option
     1 # ARM specific configuration file
     2 
     3 config ARCH_arm
     4     select ARCH_SUPPORTS_BOTH_MMU
     5     select ARCH_DEFAULT_HAS_MMU
     6     select ARCH_SUPPORTS_BOTH_ENDIAN
     7     select ARCH_DEFAULT_LE
     8     select ARCH_SUPPORT_ARCH
     9     select ARCH_SUPPORT_CPU
    10     select ARCH_SUPPORT_TUNE
    11     select ARCH_SUPPORT_FPU
    12     help
    13       The ARM architecture, as defined by:
    14         http://www.arm.com/
    15 
    16 config ARCH_ARM_MODE
    17     string
    18     default "arm"   if ARCH_ARM_MODE_ARM
    19     default "thumb" if ARCH_ARM_MODE_THUMB
    20 
    21 choice
    22     bool
    23     prompt "Default instruction set mode"
    24     default ARCH_ARM_MODE_ARM
    25 
    26 config ARCH_ARM_MODE_ARM
    27     bool
    28     prompt "arm"
    29     help
    30       Defaults to emitting instructions in the ARM mode.
    31 
    32 config ARCH_ARM_MODE_THUMB
    33     bool
    34     prompt "thumb (EXPERIMENTAL)"
    35     depends on EXPERIMENTAL
    36     help
    37       Defaults to emitting instructions in the THUMB mode.
    38 
    39 endchoice
    40 
    41 config ARCH_ARM_EABI
    42     bool
    43     prompt "Use EABI"
    44     default y
    45     help
    46       Set up the toolchain so that it generates EABI-compliant binaries.
    47 
    48 config ARCH_ARM_ABI_OK
    49     bool
    50     default y
    51     depends on ! ARCH_ARM_EABI
    52     select ARCH_SUPPORT_ABI