]> asedeno.scripts.mit.edu Git - linux.git/commit
nios2: Add NIOS2_ARCH_REVISION to select between R1 and R2
authorMarek Vasut <marex@denx.de>
Wed, 19 Apr 2017 11:19:00 +0000 (13:19 +0200)
committerLey Foon Tan <ley.foon.tan@intel.com>
Mon, 8 May 2017 08:59:19 +0000 (16:59 +0800)
commita89988a6e00c5a099ee23619cd91dc8dc7ec9328
treed9e64b92b35f2a147c59295f512964192cd2be41
parent4b40c1c092a932b5b5ab8154235080f02ae19a34
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>
arch/nios2/Makefile
arch/nios2/kernel/cpuinfo.c
arch/nios2/platform/Kconfig.platform