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>
This commit is contained in:
Marek Vasut 2017-04-19 13:19:00 +02:00 • committed by Ley Foon Tan
commit a89988a6e0
3 changed files with 13 additions and 0 deletions