Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: remove redundant 'default n' from Kconfig-s

'default n' is the default value for any bool or tristate Kconfig
setting so there is no need to write it explicitly.

Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO
is not set' for visible symbols") the Kconfig behavior is the same
regardless of 'default n' being present or not:

...
One side effect of (and the main motivation for) this change is making
the following two definitions behave exactly the same:

config FOO
bool

config FOO
bool
default n

With this change, neither of these will generate a
'# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
That might make it clearer to people that a bare 'default n' is
redundant.
...

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Bartlomiej Zolnierkiewicz and committed by
Michael Ellerman
719736e1 b27e5f93

-95
-14
arch/powerpc/Kconfig
··· 286 286 287 287 config PPC_UDBG_16550 288 288 bool 289 - default n 290 289 291 290 config GENERIC_TBSYNC 292 291 bool 293 292 default y if PPC32 && SMP 294 - default n 295 293 296 294 config AUDIT_ARCH 297 295 bool ··· 308 310 bool 309 311 help 310 312 Used to allow a board to specify it wants an ePAPR compliant wrapper. 311 - default n 312 313 313 314 config DEFAULT_UIMAGE 314 315 bool 315 316 help 316 317 Used to allow a board to specify it wants a uImage built by default 317 - default n 318 318 319 319 config ARCH_HIBERNATION_POSSIBLE 320 320 bool ··· 326 330 327 331 config PPC_DCR_NATIVE 328 332 bool 329 - default n 330 333 331 334 config PPC_DCR_MMIO 332 335 bool 333 - default n 334 336 335 337 config PPC_DCR 336 338 bool ··· 339 345 bool 340 346 depends on PCI 341 347 depends on PPC64 # not supported on 32 bits yet 342 - default n 343 348 344 349 config ARCH_SUPPORTS_DEBUG_PAGEALLOC 345 350 depends on PPC32 || PPC_BOOK3S_64 ··· 441 448 depends on SMP 442 449 select ALTIVEC 443 450 select VSX 444 - default n 445 451 ---help--- 446 452 Support user-mode Transactional Memory on POWERPC. 447 453 448 454 config LD_HEAD_STUB_CATCH 449 455 bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT 450 456 depends on PPC64 451 - default n 452 457 help 453 458 Very large kernels can cause linker branch stubs to be generated by 454 459 code in head_64.S, which moves the head text sections out of their ··· 549 558 config RELOCATABLE_TEST 550 559 bool "Test relocatable kernel" 551 560 depends on (PPC64 && RELOCATABLE) 552 - default n 553 561 help 554 562 This runs the relocatable kernel at the address it was initially 555 563 loaded at, which tends to be non-zero and therefore test the ··· 760 770 761 771 config PPC_COPRO_BASE 762 772 bool 763 - default n 764 773 765 774 config SCHED_SMT 766 775 bool "SMT (Hyperthreading) scheduler support" ··· 882 893 bool 883 894 depends on PCI 884 895 default y if 40x || 44x 885 - default n 886 896 887 897 config EISA 888 898 bool ··· 978 990 979 991 config HAS_RAPIDIO 980 992 bool 981 - default n 982 993 983 994 config RAPIDIO 984 995 tristate "RapidIO support" ··· 1000 1013 1001 1014 config NONSTATIC_KERNEL 1002 1015 bool 1003 - default n 1004 1016 1005 1017 menu "Advanced setup" 1006 1018 depends on PPC32
-6
arch/powerpc/Kconfig.debug
··· 2 2 3 3 config PPC_DISABLE_WERROR 4 4 bool "Don't build arch/powerpc code with -Werror" 5 - default n 6 5 help 7 6 This option tells the compiler NOT to build the code under 8 7 arch/powerpc with the -Werror flag (which means warnings ··· 55 56 config CODE_PATCHING_SELFTEST 56 57 bool "Run self-tests of the code-patching code" 57 58 depends on DEBUG_KERNEL 58 - default n 59 59 60 60 config JUMP_LABEL_FEATURE_CHECKS 61 61 bool "Enable use of jump label for cpu/mmu_has_feature()" ··· 68 70 config JUMP_LABEL_FEATURE_CHECK_DEBUG 69 71 bool "Do extra check on feature fixup calls" 70 72 depends on DEBUG_KERNEL && JUMP_LABEL_FEATURE_CHECKS 71 - default n 72 73 help 73 74 This tries to catch incorrect usage of cpu_has_feature() and 74 75 mmu_has_feature() in the code. ··· 77 80 config FTR_FIXUP_SELFTEST 78 81 bool "Run self-tests of the feature-fixup code" 79 82 depends on DEBUG_KERNEL 80 - default n 81 83 82 84 config MSI_BITMAP_SELFTEST 83 85 bool "Run self-tests of the MSI bitmap code" 84 86 depends on DEBUG_KERNEL 85 - default n 86 87 87 88 config PPC_IRQ_SOFT_MASK_DEBUG 88 89 bool "Include extra checks for powerpc irq soft masking" 89 - default n 90 90 91 91 config XMON 92 92 bool "Include xmon kernel debugger"
-9
arch/powerpc/platforms/40x/Kconfig
··· 2 2 config ACADIA 3 3 bool "Acadia" 4 4 depends on 40x 5 - default n 6 5 select PPC40x_SIMPLE 7 6 select 405EZ 8 7 help ··· 10 11 config EP405 11 12 bool "EP405/EP405PC" 12 13 depends on 40x 13 - default n 14 14 select 405GP 15 15 select PCI 16 16 help ··· 18 20 config HOTFOOT 19 21 bool "Hotfoot" 20 22 depends on 40x 21 - default n 22 23 select PPC40x_SIMPLE 23 24 select PCI 24 25 help ··· 26 29 config KILAUEA 27 30 bool "Kilauea" 28 31 depends on 40x 29 - default n 30 32 select 405EX 31 33 select PPC40x_SIMPLE 32 34 select PPC4xx_PCI_EXPRESS ··· 37 41 config MAKALU 38 42 bool "Makalu" 39 43 depends on 40x 40 - default n 41 44 select 405EX 42 45 select PCI 43 46 select PPC4xx_PCI_EXPRESS ··· 57 62 config XILINX_VIRTEX_GENERIC_BOARD 58 63 bool "Generic Xilinx Virtex board" 59 64 depends on 40x 60 - default n 61 65 select XILINX_VIRTEX_II_PRO 62 66 select XILINX_VIRTEX_4_FX 63 67 select XILINX_INTC ··· 74 80 config OBS600 75 81 bool "OpenBlockS 600" 76 82 depends on 40x 77 - default n 78 83 select 405EX 79 84 select PPC40x_SIMPLE 80 85 help ··· 83 90 config PPC40x_SIMPLE 84 91 bool "Simple PowerPC 40x board support" 85 92 depends on 40x 86 - default n 87 93 help 88 94 This option enables the simple PowerPC 40x platform support. 89 95 ··· 148 156 config APM8018X 149 157 bool "APM8018X" 150 158 depends on 40x 151 - default n 152 159 select PPC40x_SIMPLE 153 160 help 154 161 This option enables support for the AppliedMicro APM8018X evaluation
-22
arch/powerpc/platforms/44x/Kconfig
··· 2 2 config PPC_47x 3 3 bool "Support for 47x variant" 4 4 depends on 44x 5 - default n 6 5 select MPIC 7 6 help 8 7 This option enables support for the 47x family of processors and is ··· 10 11 config BAMBOO 11 12 bool "Bamboo" 12 13 depends on 44x 13 - default n 14 14 select PPC44x_SIMPLE 15 15 select 440EP 16 16 select PCI ··· 19 21 config BLUESTONE 20 22 bool "Bluestone" 21 23 depends on 44x 22 - default n 23 24 select PPC44x_SIMPLE 24 25 select APM821xx 25 26 select PCI_MSI ··· 41 44 config SAM440EP 42 45 bool "Sam440ep" 43 46 depends on 44x 44 - default n 45 47 select 440EP 46 48 select PCI 47 49 help ··· 49 53 config SEQUOIA 50 54 bool "Sequoia" 51 55 depends on 44x 52 - default n 53 56 select PPC44x_SIMPLE 54 57 select 440EPX 55 58 help ··· 57 62 config TAISHAN 58 63 bool "Taishan" 59 64 depends on 44x 60 - default n 61 65 select PPC44x_SIMPLE 62 66 select 440GX 63 67 select PCI ··· 67 73 config KATMAI 68 74 bool "Katmai" 69 75 depends on 44x 70 - default n 71 76 select PPC44x_SIMPLE 72 77 select 440SPe 73 78 select PCI ··· 79 86 config RAINIER 80 87 bool "Rainier" 81 88 depends on 44x 82 - default n 83 89 select PPC44x_SIMPLE 84 90 select 440GRX 85 91 select PCI ··· 88 96 config WARP 89 97 bool "PIKA Warp" 90 98 depends on 44x 91 - default n 92 99 select 440EP 93 100 help 94 101 This option enables support for the PIKA Warp(tm) Appliance. The Warp ··· 100 109 config ARCHES 101 110 bool "Arches" 102 111 depends on 44x 103 - default n 104 112 select PPC44x_SIMPLE 105 113 select 460EX # Odd since it uses 460GT but the effects are the same 106 114 select PCI ··· 110 120 config CANYONLANDS 111 121 bool "Canyonlands" 112 122 depends on 44x 113 - default n 114 123 select 460EX 115 124 select PCI 116 125 select PPC4xx_PCI_EXPRESS ··· 123 134 config GLACIER 124 135 bool "Glacier" 125 136 depends on 44x 126 - default n 127 137 select PPC44x_SIMPLE 128 138 select 460EX # Odd since it uses 460GT but the effects are the same 129 139 select PCI ··· 135 147 config REDWOOD 136 148 bool "Redwood" 137 149 depends on 44x 138 - default n 139 150 select PPC44x_SIMPLE 140 151 select 460SX 141 152 select PCI ··· 147 160 config EIGER 148 161 bool "Eiger" 149 162 depends on 44x 150 - default n 151 163 select PPC44x_SIMPLE 152 164 select 460SX 153 165 select PCI ··· 158 172 config YOSEMITE 159 173 bool "Yosemite" 160 174 depends on 44x 161 - default n 162 175 select PPC44x_SIMPLE 163 176 select 440EP 164 177 select PCI ··· 167 182 config ISS4xx 168 183 bool "ISS 4xx Simulator" 169 184 depends on (44x || 40x) 170 - default n 171 185 select 405GP if 40x 172 186 select 440GP if 44x && !PPC_47x 173 187 select PPC_FPU ··· 177 193 config CURRITUCK 178 194 bool "IBM Currituck (476fpe) Support" 179 195 depends on PPC_47x 180 - default n 181 196 select SWIOTLB 182 197 select 476FPE 183 198 select PPC4xx_PCI_EXPRESS ··· 186 203 config FSP2 187 204 bool "IBM FSP2 (476fpe) Support" 188 205 depends on PPC_47x 189 - default n 190 206 select 476FPE 191 207 select IBM_EMAC_EMAC4 if IBM_EMAC 192 208 select IBM_EMAC_RGMII if IBM_EMAC ··· 197 215 config AKEBONO 198 216 bool "IBM Akebono (476gtr) Support" 199 217 depends on PPC_47x 200 - default n 201 218 select SWIOTLB 202 219 select 476FPE 203 220 select PPC4xx_PCI_EXPRESS ··· 222 241 config ICON 223 242 bool "Icon" 224 243 depends on 44x 225 - default n 226 244 select PPC44x_SIMPLE 227 245 select 440SPe 228 246 select PCI ··· 232 252 config XILINX_VIRTEX440_GENERIC_BOARD 233 253 bool "Generic Xilinx Virtex 5 FXT board support" 234 254 depends on 44x 235 - default n 236 255 select XILINX_VIRTEX_5_FXT 237 256 select XILINX_INTC 238 257 help ··· 259 280 config PPC44x_SIMPLE 260 281 bool "Simple PowerPC 44x board support" 261 282 depends on 44x 262 - default n 263 283 help 264 284 This option enables the simple PowerPC 44x platform support. 265 285
-1
arch/powerpc/platforms/82xx/Kconfig
··· 51 51 52 52 config PQ2ADS 53 53 bool 54 - default n 55 54 56 55 config 8260 57 56 bool
-21
arch/powerpc/platforms/Kconfig
··· 23 23 24 24 config KVM_GUEST 25 25 bool "KVM Guest support" 26 - default n 27 26 select EPAPR_PARAVIRT 28 27 ---help--- 29 28 This option enables various optimizations for running under the KVM ··· 33 34 34 35 config EPAPR_PARAVIRT 35 36 bool "ePAPR para-virtualization support" 36 - default n 37 37 help 38 38 Enables ePAPR para-virtualization support for guests. 39 39 ··· 72 74 config UDBG_RTAS_CONSOLE 73 75 bool "RTAS based debug console" 74 76 depends on PPC_RTAS 75 - default n 76 77 77 78 config PPC_SMP_MUXED_IPI 78 79 bool ··· 83 86 84 87 config IPIC 85 88 bool 86 - default n 87 89 88 90 config MPIC 89 91 bool 90 - default n 91 92 92 93 config MPIC_TIMER 93 94 bool "MPIC Global Timer" 94 95 depends on MPIC && FSL_SOC 95 - default n 96 96 help 97 97 The MPIC global timer is a hardware timer inside the 98 98 Freescale PIC complying with OpenPIC standard. When the ··· 101 107 config FSL_MPIC_TIMER_WAKEUP 102 108 tristate "Freescale MPIC global timer wakeup driver" 103 109 depends on FSL_SOC && MPIC_TIMER && PM 104 - default n 105 110 help 106 111 The driver provides a way to wake up the system by MPIC 107 112 timer. ··· 108 115 109 116 config PPC_EPAPR_HV_PIC 110 117 bool 111 - default n 112 118 select EPAPR_PARAVIRT 113 119 114 120 config MPIC_WEIRD 115 121 bool 116 - default n 117 122 118 123 config MPIC_MSGR 119 124 bool "MPIC message register support" 120 125 depends on MPIC 121 - default n 122 126 help 123 127 Enables support for the MPIC message registers. These 124 128 registers are used for inter-processor communication. 125 129 126 130 config PPC_I8259 127 131 bool 128 - default n 129 132 130 133 config U3_DART 131 134 bool 132 135 depends on PPC64 133 - default n 134 136 135 137 config PPC_RTAS 136 138 bool 137 - default n 138 139 139 140 config RTAS_ERROR_LOGGING 140 141 bool 141 142 depends on PPC_RTAS 142 - default n 143 143 144 144 config PPC_RTAS_DAEMON 145 145 bool 146 146 depends on PPC_RTAS 147 - default n 148 147 149 148 config RTAS_PROC 150 149 bool "Proc interface to RTAS" ··· 149 164 150 165 config MMIO_NVRAM 151 166 bool 152 - default n 153 167 154 168 config MPIC_U3_HT_IRQS 155 169 bool 156 - default n 157 170 158 171 config MPIC_BROKEN_REGREAD 159 172 bool ··· 170 187 171 188 config PPC_MPC106 172 189 bool 173 - default n 174 190 175 191 config PPC_970_NAP 176 192 bool 177 - default n 178 193 179 194 config PPC_P7_NAP 180 195 bool 181 - default n 182 196 183 197 config PPC_INDIRECT_PIO 184 198 bool ··· 275 295 276 296 config FSL_ULI1575 277 297 bool 278 - default n 279 298 select GENERIC_ISA_DMA 280 299 help 281 300 Supports for the ULI1575 PCIe south bridge that exists on some
-4
arch/powerpc/platforms/Kconfig.cputype
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config PPC64 3 3 bool "64-bit kernel" 4 - default n 5 4 select ZLIB_DEFLATE 6 5 help 7 6 This option selects whether a 32-bit or a 64-bit kernel ··· 368 369 bool 369 370 default y if PPC_BOOK3S_64 370 371 default y if PPC_8xx && HUGETLB_PAGE 371 - default n 372 372 373 373 config PPC_HAVE_PMU_SUPPORT 374 374 bool ··· 381 383 config FORCE_SMP 382 384 # Allow platforms to force SMP=y by selecting this 383 385 bool 384 - default n 385 386 select SMP 386 387 387 388 config SMP ··· 421 424 422 425 config PPC_DOORBELL 423 426 bool 424 - default n 425 427 426 428 endmenu 427 429
-3
arch/powerpc/platforms/cell/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config PPC_CELL 3 3 bool 4 - default n 5 4 6 5 config PPC_CELL_COMMON 7 6 bool ··· 21 22 select IBM_EMAC_RGMII if IBM_EMAC 22 23 select IBM_EMAC_ZMII if IBM_EMAC #test only 23 24 select IBM_EMAC_TAH if IBM_EMAC #test only 24 - default n 25 25 26 26 config PPC_IBM_CELL_BLADE 27 27 bool "IBM Cell Blade" ··· 52 54 53 55 config SPU_BASE 54 56 bool 55 - default n 56 57 select PPC_COPRO_BASE 57 58 58 59 config CBE_RAS
-1
arch/powerpc/platforms/maple/Kconfig
··· 13 13 select PPC_RTAS 14 14 select MMIO_NVRAM 15 15 select ATA_NONSTANDARD if ATA 16 - default n 17 16 help 18 17 This option enables support for the Maple 970FX Evaluation Board. 19 18 For more information, refer to <http://www.970eval.com>
-1
arch/powerpc/platforms/pasemi/Kconfig
··· 2 2 config PPC_PASEMI 3 3 depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN 4 4 bool "PA Semi SoC-based platforms" 5 - default n 6 5 select MPIC 7 6 select PCI 8 7 select PPC_UDBG_16550
-1
arch/powerpc/platforms/powernv/Kconfig
··· 30 30 config PPC_MEMTRACE 31 31 bool "Enable removal of RAM from kernel mappings for tracing" 32 32 depends on PPC_POWERNV && MEMORY_HOTREMOVE 33 - default n 34 33 help 35 34 Enabling this option allows for the removal of memory (RAM) 36 35 from the kernel mappings to be used for hardware tracing.
-2
arch/powerpc/platforms/ps3/Kconfig
··· 49 49 config PS3_DYNAMIC_DMA 50 50 depends on PPC_PS3 51 51 bool "PS3 Platform dynamic DMA page table management" 52 - default n 53 52 help 54 53 This option will enable kernel support to take advantage of the 55 54 per device dynamic DMA page table management provided by the Cell ··· 88 89 config PS3_REPOSITORY_WRITE 89 90 bool "PS3 Repository write support" if PS3_ADVANCED 90 91 depends on PPC_PS3 91 - default n 92 92 help 93 93 Enables support for writing to the PS3 System Repository. 94 94
-2
arch/powerpc/platforms/pseries/Kconfig
··· 28 28 config PPC_SPLPAR 29 29 depends on PPC_PSERIES 30 30 bool "Support for shared-processor logical partitions" 31 - default n 32 31 help 33 32 Enabling this option will make the kernel run more efficiently 34 33 on logically-partitioned pSeries systems which use shared ··· 98 99 bool "Support for shared-memory logical partitions" 99 100 depends on PPC_PSERIES 100 101 select LPARCFG 101 - default n 102 102 help 103 103 Select this option to enable shared memory partition support. 104 104 With this option a system running in an LPAR can be given more
-5
arch/powerpc/sysdev/Kconfig
··· 6 6 config PPC4xx_PCI_EXPRESS 7 7 bool 8 8 depends on PCI && 4xx 9 - default n 10 9 11 10 config PPC4xx_HSTA_MSI 12 11 bool 13 12 depends on PCI_MSI 14 13 depends on PCI && 4xx 15 - default n 16 14 17 15 config PPC4xx_MSI 18 16 bool 19 17 depends on PCI_MSI 20 18 depends on PCI && 4xx 21 - default n 22 19 23 20 config PPC_MSI_BITMAP 24 21 bool ··· 34 37 config SCOM_DEBUGFS 35 38 bool "Expose SCOM controllers via debugfs" 36 39 depends on PPC_SCOM && DEBUG_FS 37 - default n 38 40 39 41 config GE_FPGA 40 42 bool 41 - default n 42 43 43 44 config FSL_CORENET_RCPM 44 45 bool
-3
arch/powerpc/sysdev/xive/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config PPC_XIVE 3 3 bool 4 - default n 5 4 select PPC_SMP_MUXED_IPI 6 5 select HARDIRQS_SW_RESEND 7 6 8 7 config PPC_XIVE_NATIVE 9 8 bool 10 - default n 11 9 select PPC_XIVE 12 10 depends on PPC_POWERNV 13 11 14 12 config PPC_XIVE_SPAPR 15 13 bool 16 - default n 17 14 select PPC_XIVE