]> git.baikalelectronics.ru Git - kernel.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)
commit606109569faed9e8a51860b7fda54566deee2951
treed9e64b92b35f2a147c59295f512964192cd2be41
parenta25b047b50d22596bb304f7a3d1bb92b988511e3
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