| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menu "Platform options" |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | comment "Memory settings" |
|---|
| .. | .. |
|---|
| 17 | 18 | |
|---|
| 18 | 19 | config NIOS2_DTB_AT_PHYS_ADDR |
|---|
| 19 | 20 | bool "DTB at physical address" |
|---|
| 20 | | - default n |
|---|
| 21 | 21 | help |
|---|
| 22 | 22 | When enabled you can select a physical address to load the dtb from. |
|---|
| 23 | 23 | Normally this address is passed by a bootloader such as u-boot but |
|---|
| .. | .. |
|---|
| 38 | 38 | config NIOS2_DTB_SOURCE_BOOL |
|---|
| 39 | 39 | bool "Compile and link device tree into kernel image" |
|---|
| 40 | 40 | depends on !COMPILE_TEST |
|---|
| 41 | | - default n |
|---|
| 42 | 41 | help |
|---|
| 43 | 42 | This allows you to specify a dts (device tree source) file |
|---|
| 44 | 43 | which will be compiled and linked into the kernel image. |
|---|
| .. | .. |
|---|
| 63 | 62 | |
|---|
| 64 | 63 | config NIOS2_HW_MUL_SUPPORT |
|---|
| 65 | 64 | bool "Enable MUL instruction" |
|---|
| 66 | | - default n |
|---|
| 67 | 65 | help |
|---|
| 68 | 66 | Set to true if you configured the Nios II to include the MUL |
|---|
| 69 | 67 | instruction. This will enable the -mhw-mul compiler flag. |
|---|
| 70 | 68 | |
|---|
| 71 | 69 | config NIOS2_HW_MULX_SUPPORT |
|---|
| 72 | 70 | bool "Enable MULX instruction" |
|---|
| 73 | | - default n |
|---|
| 74 | 71 | help |
|---|
| 75 | 72 | Set to true if you configured the Nios II to include the MULX |
|---|
| 76 | 73 | instruction. Enables the -mhw-mulx compiler flag. |
|---|
| 77 | 74 | |
|---|
| 78 | 75 | config NIOS2_HW_DIV_SUPPORT |
|---|
| 79 | 76 | bool "Enable DIV instruction" |
|---|
| 80 | | - default n |
|---|
| 81 | 77 | help |
|---|
| 82 | 78 | Set to true if you configured the Nios II to include the DIV |
|---|
| 83 | 79 | instruction. Enables the -mhw-div compiler flag. |
|---|
| .. | .. |
|---|
| 85 | 81 | config NIOS2_BMX_SUPPORT |
|---|
| 86 | 82 | bool "Enable BMX instructions" |
|---|
| 87 | 83 | depends on NIOS2_ARCH_REVISION = 2 |
|---|
| 88 | | - default n |
|---|
| 89 | 84 | help |
|---|
| 90 | 85 | Set to true if you configured the Nios II R2 to include |
|---|
| 91 | 86 | the BMX Bit Manipulation Extension instructions. Enables |
|---|
| .. | .. |
|---|
| 94 | 89 | config NIOS2_CDX_SUPPORT |
|---|
| 95 | 90 | bool "Enable CDX instructions" |
|---|
| 96 | 91 | depends on NIOS2_ARCH_REVISION = 2 |
|---|
| 97 | | - default n |
|---|
| 98 | 92 | help |
|---|
| 99 | 93 | Set to true if you configured the Nios II R2 to include |
|---|
| 100 | 94 | the CDX Bit Manipulation Extension instructions. Enables |
|---|
| .. | .. |
|---|
| 102 | 96 | |
|---|
| 103 | 97 | config NIOS2_FPU_SUPPORT |
|---|
| 104 | 98 | bool "Custom floating point instr support" |
|---|
| 105 | | - default n |
|---|
| 106 | 99 | help |
|---|
| 107 | 100 | Enables the -mcustom-fpu-cfg=60-1 compiler flag. |
|---|
| 108 | 101 | |
|---|
| 109 | 102 | config NIOS2_CI_SWAB_SUPPORT |
|---|
| 110 | 103 | bool "Byteswap custom instruction" |
|---|
| 111 | | - default n |
|---|
| 112 | 104 | help |
|---|
| 113 | 105 | Use the byteswap (endian converter) Nios II custom instruction provided |
|---|
| 114 | 106 | by Altera and which can be enabled in QSYS builder. This accelerates |
|---|