diff options
author | Marek Vasut <marex@denx.de> | 2017-04-19 13:19:00 +0200 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-05-08 16:59:19 +0800 |
commit | a89988a6e00c5a099ee23619cd91dc8dc7ec9328 (patch) | |
tree | d9e64b92b35f2a147c59295f512964192cd2be41 /arch/nios2/platform | |
parent | 4b40c1c092a932b5b5ab8154235080f02ae19a34 (diff) | |
download | linux-stable-a89988a6e00c5a099ee23619cd91dc8dc7ec9328.tar.gz linux-stable-a89988a6e00c5a099ee23619cd91dc8dc7ec9328.tar.bz2 linux-stable-a89988a6e00c5a099ee23619cd91dc8dc7ec9328.zip |
nios2: Add NIOS2_ARCH_REVISION to select between R1 and R2
Allow user to select between Nios2 R1 and R2. Since R1 and R2 are
not binary compatible, we cannot have a single kernel binary and
there is no point in having DT property for discerning these two.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/platform')
-rw-r--r-- | arch/nios2/platform/Kconfig.platform | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/nios2/platform/Kconfig.platform b/arch/nios2/platform/Kconfig.platform index d3e5df9fb36b..b7ac5b90c399 100644 --- a/arch/nios2/platform/Kconfig.platform +++ b/arch/nios2/platform/Kconfig.platform @@ -52,6 +52,14 @@ config NIOS2_DTB_SOURCE comment "Nios II instructions" +config NIOS2_ARCH_REVISION + int "Select Nios II architecture revision" + range 1 2 + default 1 + help + Select between Nios II R1 and Nios II R2 . The architectures + are binary incompatible. Default is R1 . + config NIOS2_HW_MUL_SUPPORT bool "Enable MUL instruction" default n |