hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/nios2/Kconfig
....@@ -1,10 +1,13 @@
11 # SPDX-License-Identifier: GPL-2.0
22 config NIOS2
33 def_bool y
4
+ select ARCH_32BIT_OFF_T
5
+ select ARCH_HAS_DMA_PREP_COHERENT
46 select ARCH_HAS_SYNC_DMA_FOR_CPU
57 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
8
+ select ARCH_HAS_DMA_SET_UNCACHED
69 select ARCH_NO_SWAP
7
- select DMA_NONCOHERENT_OPS
10
+ select COMMON_CLK
811 select TIMER_OF
912 select GENERIC_ATOMIC64
1013 select GENERIC_CLOCKEVENTS
....@@ -23,6 +26,8 @@
2326 select SPARSE_IRQ
2427 select USB_ARCH_HAS_HCD if USB_SUPPORT
2528 select CPU_NO_EFFICIENT_FFS
29
+ select MMU_GATHER_NO_RANGE if MMU
30
+ select SET_FS
2631
2732 config GENERIC_CSUM
2833 def_bool y
....@@ -36,14 +41,8 @@
3641 config NO_IOPORT_MAP
3742 def_bool y
3843
39
-config HAS_DMA
40
- def_bool y
41
-
4244 config FPU
4345 def_bool n
44
-
45
-config RWSEM_GENERIC_SPINLOCK
46
- def_bool y
4746
4847 config TRACE_IRQFLAGS_SUPPORT
4948 def_bool n
....@@ -125,7 +124,6 @@
125124
126125 config NIOS2_PASS_CMDLINE
127126 bool "Passed kernel command line from u-boot"
128
- default n
129127 help
130128 Use bootargs env variable from u-boot for kernel command line.
131129 will override "Default kernel command string".