diff options
author | Marek Vasut <marex@denx.de> | 2017-04-19 13:19:01 +0200 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-05-08 10:59:19 +0200 |
commit | 23460839b983d5d8d47fe90f341599f66523dd81 (patch) | |
tree | 8e123c504595afe9e5463b9c88a35a7988f7d7ae /arch/nios2/Makefile | |
parent | nios2: Add NIOS2_ARCH_REVISION to select between R1 and R2 (diff) | |
download | linux-23460839b983d5d8d47fe90f341599f66523dd81.tar.xz linux-23460839b983d5d8d47fe90f341599f66523dd81.zip |
nios2: Add BMX support
Add support for the BMX Bit Manipulation Extensions present in
Nios II R2 . This introduces three new instructions, EXTRACT,
INSERT and MERGE.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/Makefile')
-rw-r--r-- | arch/nios2/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 38da17e4c908..74109c01eaea 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -29,6 +29,7 @@ KBUILD_CFLAGS += -march=r$(CONFIG_NIOS2_ARCH_REVISION) KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul) KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MULX_SUPPORT),-mhw-mulx,-mno-hw-mulx) KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_DIV_SUPPORT),-mhw-div,-mno-hw-div) +KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_BMX_SUPPORT),-mbmx,-mno-bmx) KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,) KBUILD_CFLAGS += -fno-optimize-sibling-calls |