summaryrefslogtreecommitdiffstats
path: root/arch/nios2/platform
Commit message (Collapse)AuthorAgeFilesLines
* nios2: Add CDX supportMarek Vasut2017-05-081-0/+9
| | | | | | | | | | Add support for the CDX Code Density Extensions present in Nios II R2 . This introduces new 16bit instruction set to improve code density while retaining support for the 32bit Nios II R2 instructions. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com>
* nios2: Add BMX supportMarek Vasut2017-05-081-0/+9
| | | | | | | | | 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>
* nios2: Add NIOS2_ARCH_REVISION to select between R1 and R2Marek Vasut2017-05-081-0/+8
| | | | | | | | | 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>
* nios2: Remove unnecessary of_platform_populate with default match tableKefeng Wang2016-06-231-3/+1Star
| | | | | | | | | | After patch "of/platform: Add common method to populate default bus", it is possible for arch code to remove unnecessary callers of of_platform_populate with default match table. Cc: Ley Foon Tan <lftan@altera.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rob Herring <robh@kernel.org>
* nios2: Build infrastructureLey Foon Tan2014-12-082-0/+130
| | | | | | | This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan <lftan@altera.com>
* nios2: Device tree supportLey Foon Tan2014-12-081-0/+46
Add device tree support to arch/nios2. Signed-off-by: Ley Foon Tan <lftan@altera.com>