]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
arm: conditionally support regular ARM instructions
authorGuido Martínez <guido@vanguardiasur.com.ar>
Thu, 22 Jan 2015 18:33:25 +0000 (15:33 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 2 Feb 2015 17:32:34 +0000 (18:32 +0100)
commita87f5806ed1e6449c859ff97d1104548529b7102
tree1803c30c090df71146e1a3e86c079a2c7ec81ccb
parent5487b2630716ea146ada738ac875340f7f3ade29
arm: conditionally support regular ARM instructions

Until now, all ARM processors supported the original ARM instructions.
However, the Cortex-M variants don't support them, and support only
Thumb/Thumb2 modes.

So, make a Kconfig option for ARM support and use it.

[Thomas:
  - Remove the dependency in the choice between ARM/Thumb/Thumb-2,
    because basically the choice is now always visible.
  - Replace the BR2_ARM_INSTRUCTIONS_ARM_CHOICE choice option directly
    by BR2_ARM_INSTRUCTIONS_ARM, instead of having this blind option
    defined separately. This means the choice is now always visible,
    even when only the ARM instruction set is supported.]

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.arm