Browse Source

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>
Bartlomiej Zolnierkiewicz 6 years ago
parent
commit
719736e1cc

+ 0 - 14
arch/powerpc/Kconfig

@@ -286,12 +286,10 @@ config ARCH_MAY_HAVE_PC_FDC
 
 
 config PPC_UDBG_16550
 config PPC_UDBG_16550
 	bool
 	bool
-	default n
 
 
 config GENERIC_TBSYNC
 config GENERIC_TBSYNC
 	bool
 	bool
 	default y if PPC32 && SMP
 	default y if PPC32 && SMP
-	default n
 
 
 config AUDIT_ARCH
 config AUDIT_ARCH
 	bool
 	bool
@@ -310,13 +308,11 @@ config EPAPR_BOOT
 	bool
 	bool
 	help
 	help
 	  Used to allow a board to specify it wants an ePAPR compliant wrapper.
 	  Used to allow a board to specify it wants an ePAPR compliant wrapper.
-	default n
 
 
 config DEFAULT_UIMAGE
 config DEFAULT_UIMAGE
 	bool
 	bool
 	help
 	help
 	  Used to allow a board to specify it wants a uImage built by default
 	  Used to allow a board to specify it wants a uImage built by default
-	default n
 
 
 config ARCH_HIBERNATION_POSSIBLE
 config ARCH_HIBERNATION_POSSIBLE
 	bool
 	bool
@@ -330,11 +326,9 @@ config ARCH_SUSPEND_POSSIBLE
 
 
 config PPC_DCR_NATIVE
 config PPC_DCR_NATIVE
 	bool
 	bool
-	default n
 
 
 config PPC_DCR_MMIO
 config PPC_DCR_MMIO
 	bool
 	bool
-	default n
 
 
 config PPC_DCR
 config PPC_DCR
 	bool
 	bool
@@ -345,7 +339,6 @@ config PPC_OF_PLATFORM_PCI
 	bool
 	bool
 	depends on PCI
 	depends on PCI
 	depends on PPC64 # not supported on 32 bits yet
 	depends on PPC64 # not supported on 32 bits yet
-	default n
 
 
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 	depends on PPC32 || PPC_BOOK3S_64
 	depends on PPC32 || PPC_BOOK3S_64
@@ -448,14 +441,12 @@ config PPC_TRANSACTIONAL_MEM
        depends on SMP
        depends on SMP
        select ALTIVEC
        select ALTIVEC
        select VSX
        select VSX
-       default n
        ---help---
        ---help---
          Support user-mode Transactional Memory on POWERPC.
          Support user-mode Transactional Memory on POWERPC.
 
 
 config LD_HEAD_STUB_CATCH
 config LD_HEAD_STUB_CATCH
 	bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT
 	bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT
 	depends on PPC64
 	depends on PPC64
-	default n
 	help
 	help
 	  Very large kernels can cause linker branch stubs to be generated by
 	  Very large kernels can cause linker branch stubs to be generated by
 	  code in head_64.S, which moves the head text sections out of their
 	  code in head_64.S, which moves the head text sections out of their
@@ -558,7 +549,6 @@ config RELOCATABLE
 config RELOCATABLE_TEST
 config RELOCATABLE_TEST
 	bool "Test relocatable kernel"
 	bool "Test relocatable kernel"
 	depends on (PPC64 && RELOCATABLE)
 	depends on (PPC64 && RELOCATABLE)
-	default n
 	help
 	help
 	  This runs the relocatable kernel at the address it was initially
 	  This runs the relocatable kernel at the address it was initially
 	  loaded at, which tends to be non-zero and therefore test the
 	  loaded at, which tends to be non-zero and therefore test the
@@ -770,7 +760,6 @@ config PPC_SUBPAGE_PROT
 
 
 config PPC_COPRO_BASE
 config PPC_COPRO_BASE
 	bool
 	bool
-	default n
 
 
 config SCHED_SMT
 config SCHED_SMT
 	bool "SMT (Hyperthreading) scheduler support"
 	bool "SMT (Hyperthreading) scheduler support"
@@ -893,7 +882,6 @@ config PPC_INDIRECT_PCI
 	bool
 	bool
 	depends on PCI
 	depends on PCI
 	default y if 40x || 44x
 	default y if 40x || 44x
-	default n
 
 
 config EISA
 config EISA
 	bool
 	bool
@@ -990,7 +978,6 @@ source "drivers/pcmcia/Kconfig"
 
 
 config HAS_RAPIDIO
 config HAS_RAPIDIO
 	bool
 	bool
-	default n
 
 
 config RAPIDIO
 config RAPIDIO
 	tristate "RapidIO support"
 	tristate "RapidIO support"
@@ -1013,7 +1000,6 @@ endmenu
 
 
 config NONSTATIC_KERNEL
 config NONSTATIC_KERNEL
 	bool
 	bool
-	default n
 
 
 menu "Advanced setup"
 menu "Advanced setup"
 	depends on PPC32
 	depends on PPC32

+ 0 - 6
arch/powerpc/Kconfig.debug

@@ -2,7 +2,6 @@
 
 
 config PPC_DISABLE_WERROR
 config PPC_DISABLE_WERROR
 	bool "Don't build arch/powerpc code with -Werror"
 	bool "Don't build arch/powerpc code with -Werror"
-	default n
 	help
 	help
 	  This option tells the compiler NOT to build the code under
 	  This option tells the compiler NOT to build the code under
 	  arch/powerpc with the -Werror flag (which means warnings
 	  arch/powerpc with the -Werror flag (which means warnings
@@ -56,7 +55,6 @@ config PPC_EMULATED_STATS
 config CODE_PATCHING_SELFTEST
 config CODE_PATCHING_SELFTEST
 	bool "Run self-tests of the code-patching code"
 	bool "Run self-tests of the code-patching code"
 	depends on DEBUG_KERNEL
 	depends on DEBUG_KERNEL
-	default n
 
 
 config JUMP_LABEL_FEATURE_CHECKS
 config JUMP_LABEL_FEATURE_CHECKS
 	bool "Enable use of jump label for cpu/mmu_has_feature()"
 	bool "Enable use of jump label for cpu/mmu_has_feature()"
@@ -70,7 +68,6 @@ config JUMP_LABEL_FEATURE_CHECKS
 config JUMP_LABEL_FEATURE_CHECK_DEBUG
 config JUMP_LABEL_FEATURE_CHECK_DEBUG
 	bool "Do extra check on feature fixup calls"
 	bool "Do extra check on feature fixup calls"
 	depends on DEBUG_KERNEL && JUMP_LABEL_FEATURE_CHECKS
 	depends on DEBUG_KERNEL && JUMP_LABEL_FEATURE_CHECKS
-	default n
 	help
 	help
 	  This tries to catch incorrect usage of cpu_has_feature() and
 	  This tries to catch incorrect usage of cpu_has_feature() and
 	  mmu_has_feature() in the code.
 	  mmu_has_feature() in the code.
@@ -80,16 +77,13 @@ config JUMP_LABEL_FEATURE_CHECK_DEBUG
 config FTR_FIXUP_SELFTEST
 config FTR_FIXUP_SELFTEST
 	bool "Run self-tests of the feature-fixup code"
 	bool "Run self-tests of the feature-fixup code"
 	depends on DEBUG_KERNEL
 	depends on DEBUG_KERNEL
-	default n
 
 
 config MSI_BITMAP_SELFTEST
 config MSI_BITMAP_SELFTEST
 	bool "Run self-tests of the MSI bitmap code"
 	bool "Run self-tests of the MSI bitmap code"
 	depends on DEBUG_KERNEL
 	depends on DEBUG_KERNEL
-	default n
 
 
 config PPC_IRQ_SOFT_MASK_DEBUG
 config PPC_IRQ_SOFT_MASK_DEBUG
 	bool "Include extra checks for powerpc irq soft masking"
 	bool "Include extra checks for powerpc irq soft masking"
-	default n
 
 
 config XMON
 config XMON
 	bool "Include xmon kernel debugger"
 	bool "Include xmon kernel debugger"

+ 0 - 9
arch/powerpc/platforms/40x/Kconfig

@@ -2,7 +2,6 @@
 config ACADIA
 config ACADIA
 	bool "Acadia"
 	bool "Acadia"
 	depends on 40x
 	depends on 40x
-	default n
 	select PPC40x_SIMPLE
 	select PPC40x_SIMPLE
 	select 405EZ
 	select 405EZ
 	help
 	help
@@ -11,7 +10,6 @@ config ACADIA
 config EP405
 config EP405
 	bool "EP405/EP405PC"
 	bool "EP405/EP405PC"
 	depends on 40x
 	depends on 40x
-	default n
 	select 405GP
 	select 405GP
 	select PCI
 	select PCI
 	help
 	help
@@ -20,7 +18,6 @@ config EP405
 config HOTFOOT
 config HOTFOOT
         bool "Hotfoot"
         bool "Hotfoot"
 	depends on 40x
 	depends on 40x
-	default n
 	select PPC40x_SIMPLE
 	select PPC40x_SIMPLE
 	select PCI
 	select PCI
         help
         help
@@ -29,7 +26,6 @@ config HOTFOOT
 config KILAUEA
 config KILAUEA
 	bool "Kilauea"
 	bool "Kilauea"
 	depends on 40x
 	depends on 40x
-	default n
 	select 405EX
 	select 405EX
 	select PPC40x_SIMPLE
 	select PPC40x_SIMPLE
 	select PPC4xx_PCI_EXPRESS
 	select PPC4xx_PCI_EXPRESS
@@ -41,7 +37,6 @@ config KILAUEA
 config MAKALU
 config MAKALU
 	bool "Makalu"
 	bool "Makalu"
 	depends on 40x
 	depends on 40x
-	default n
 	select 405EX
 	select 405EX
 	select PCI
 	select PCI
 	select PPC4xx_PCI_EXPRESS
 	select PPC4xx_PCI_EXPRESS
@@ -62,7 +57,6 @@ config WALNUT
 config XILINX_VIRTEX_GENERIC_BOARD
 config XILINX_VIRTEX_GENERIC_BOARD
 	bool "Generic Xilinx Virtex board"
 	bool "Generic Xilinx Virtex board"
 	depends on 40x
 	depends on 40x
-	default n
 	select XILINX_VIRTEX_II_PRO
 	select XILINX_VIRTEX_II_PRO
 	select XILINX_VIRTEX_4_FX
 	select XILINX_VIRTEX_4_FX
 	select XILINX_INTC
 	select XILINX_INTC
@@ -80,7 +74,6 @@ config XILINX_VIRTEX_GENERIC_BOARD
 config OBS600
 config OBS600
 	bool "OpenBlockS 600"
 	bool "OpenBlockS 600"
 	depends on 40x
 	depends on 40x
-	default n
 	select 405EX
 	select 405EX
 	select PPC40x_SIMPLE
 	select PPC40x_SIMPLE
 	help
 	help
@@ -90,7 +83,6 @@ config OBS600
 config PPC40x_SIMPLE
 config PPC40x_SIMPLE
 	bool "Simple PowerPC 40x board support"
 	bool "Simple PowerPC 40x board support"
 	depends on 40x
 	depends on 40x
-	default n
 	help
 	help
 	  This option enables the simple PowerPC 40x platform support.
 	  This option enables the simple PowerPC 40x platform support.
 
 
@@ -156,7 +148,6 @@ config IBM405_ERR51
 config APM8018X
 config APM8018X
 	bool "APM8018X"
 	bool "APM8018X"
 	depends on 40x
 	depends on 40x
-	default n
 	select PPC40x_SIMPLE
 	select PPC40x_SIMPLE
 	help
 	help
 	  This option enables support for the AppliedMicro APM8018X evaluation
 	  This option enables support for the AppliedMicro APM8018X evaluation

+ 0 - 22
arch/powerpc/platforms/44x/Kconfig

@@ -2,7 +2,6 @@
 config PPC_47x
 config PPC_47x
 	bool "Support for 47x variant"
 	bool "Support for 47x variant"
 	depends on 44x
 	depends on 44x
-	default n
 	select MPIC
 	select MPIC
 	help
 	help
 	  This option enables support for the 47x family of processors and is
 	  This option enables support for the 47x family of processors and is
@@ -11,7 +10,6 @@ config PPC_47x
 config BAMBOO
 config BAMBOO
 	bool "Bamboo"
 	bool "Bamboo"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440EP
 	select 440EP
 	select PCI
 	select PCI
@@ -21,7 +19,6 @@ config BAMBOO
 config BLUESTONE
 config BLUESTONE
 	bool "Bluestone"
 	bool "Bluestone"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select APM821xx
 	select APM821xx
 	select PCI_MSI
 	select PCI_MSI
@@ -44,7 +41,6 @@ config EBONY
 config SAM440EP
 config SAM440EP
         bool "Sam440ep"
         bool "Sam440ep"
 	depends on 44x
 	depends on 44x
-        default n
         select 440EP
         select 440EP
         select PCI
         select PCI
         help
         help
@@ -53,7 +49,6 @@ config SAM440EP
 config SEQUOIA
 config SEQUOIA
 	bool "Sequoia"
 	bool "Sequoia"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440EPX
 	select 440EPX
 	help
 	help
@@ -62,7 +57,6 @@ config SEQUOIA
 config TAISHAN
 config TAISHAN
 	bool "Taishan"
 	bool "Taishan"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440GX
 	select 440GX
 	select PCI
 	select PCI
@@ -73,7 +67,6 @@ config TAISHAN
 config KATMAI
 config KATMAI
 	bool "Katmai"
 	bool "Katmai"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440SPe
 	select 440SPe
 	select PCI
 	select PCI
@@ -86,7 +79,6 @@ config KATMAI
 config RAINIER
 config RAINIER
 	bool "Rainier"
 	bool "Rainier"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440GRX
 	select 440GRX
 	select PCI
 	select PCI
@@ -96,7 +88,6 @@ config RAINIER
 config WARP
 config WARP
 	bool "PIKA Warp"
 	bool "PIKA Warp"
 	depends on 44x
 	depends on 44x
-	default n
 	select 440EP
 	select 440EP
 	help
 	help
 	  This option enables support for the PIKA Warp(tm) Appliance. The Warp
 	  This option enables support for the PIKA Warp(tm) Appliance. The Warp
@@ -109,7 +100,6 @@ config WARP
 config ARCHES
 config ARCHES
 	bool "Arches"
 	bool "Arches"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 460EX # Odd since it uses 460GT but the effects are the same
 	select 460EX # Odd since it uses 460GT but the effects are the same
 	select PCI
 	select PCI
@@ -120,7 +110,6 @@ config ARCHES
 config CANYONLANDS
 config CANYONLANDS
 	bool "Canyonlands"
 	bool "Canyonlands"
 	depends on 44x
 	depends on 44x
-	default n
 	select 460EX
 	select 460EX
 	select PCI
 	select PCI
 	select PPC4xx_PCI_EXPRESS
 	select PPC4xx_PCI_EXPRESS
@@ -134,7 +123,6 @@ config CANYONLANDS
 config GLACIER
 config GLACIER
 	bool "Glacier"
 	bool "Glacier"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 460EX # Odd since it uses 460GT but the effects are the same
 	select 460EX # Odd since it uses 460GT but the effects are the same
 	select PCI
 	select PCI
@@ -147,7 +135,6 @@ config GLACIER
 config REDWOOD
 config REDWOOD
 	bool "Redwood"
 	bool "Redwood"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 460SX
 	select 460SX
 	select PCI
 	select PCI
@@ -160,7 +147,6 @@ config REDWOOD
 config EIGER
 config EIGER
 	bool "Eiger"
 	bool "Eiger"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 460SX
 	select 460SX
 	select PCI
 	select PCI
@@ -172,7 +158,6 @@ config EIGER
 config YOSEMITE
 config YOSEMITE
 	bool "Yosemite"
 	bool "Yosemite"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440EP
 	select 440EP
 	select PCI
 	select PCI
@@ -182,7 +167,6 @@ config YOSEMITE
 config ISS4xx
 config ISS4xx
 	bool "ISS 4xx Simulator"
 	bool "ISS 4xx Simulator"
 	depends on (44x || 40x)
 	depends on (44x || 40x)
-	default n
 	select 405GP if 40x
 	select 405GP if 40x
 	select 440GP if 44x && !PPC_47x
 	select 440GP if 44x && !PPC_47x
 	select PPC_FPU
 	select PPC_FPU
@@ -193,7 +177,6 @@ config ISS4xx
 config CURRITUCK
 config CURRITUCK
 	bool "IBM Currituck (476fpe) Support"
 	bool "IBM Currituck (476fpe) Support"
 	depends on PPC_47x
 	depends on PPC_47x
-	default n
 	select SWIOTLB
 	select SWIOTLB
 	select 476FPE
 	select 476FPE
 	select PPC4xx_PCI_EXPRESS
 	select PPC4xx_PCI_EXPRESS
@@ -203,7 +186,6 @@ config CURRITUCK
 config FSP2
 config FSP2
 	bool "IBM FSP2 (476fpe) Support"
 	bool "IBM FSP2 (476fpe) Support"
 	depends on PPC_47x
 	depends on PPC_47x
-	default n
 	select 476FPE
 	select 476FPE
 	select IBM_EMAC_EMAC4 if IBM_EMAC
 	select IBM_EMAC_EMAC4 if IBM_EMAC
 	select IBM_EMAC_RGMII if IBM_EMAC
 	select IBM_EMAC_RGMII if IBM_EMAC
@@ -215,7 +197,6 @@ config FSP2
 config AKEBONO
 config AKEBONO
 	bool "IBM Akebono (476gtr) Support"
 	bool "IBM Akebono (476gtr) Support"
 	depends on PPC_47x
 	depends on PPC_47x
-	default n
 	select SWIOTLB
 	select SWIOTLB
 	select 476FPE
 	select 476FPE
 	select PPC4xx_PCI_EXPRESS
 	select PPC4xx_PCI_EXPRESS
@@ -241,7 +222,6 @@ config AKEBONO
 config ICON
 config ICON
 	bool "Icon"
 	bool "Icon"
 	depends on 44x
 	depends on 44x
-	default n
 	select PPC44x_SIMPLE
 	select PPC44x_SIMPLE
 	select 440SPe
 	select 440SPe
 	select PCI
 	select PCI
@@ -252,7 +232,6 @@ config ICON
 config XILINX_VIRTEX440_GENERIC_BOARD
 config XILINX_VIRTEX440_GENERIC_BOARD
 	bool "Generic Xilinx Virtex 5 FXT board support"
 	bool "Generic Xilinx Virtex 5 FXT board support"
 	depends on 44x
 	depends on 44x
-	default n
 	select XILINX_VIRTEX_5_FXT
 	select XILINX_VIRTEX_5_FXT
 	select XILINX_INTC
 	select XILINX_INTC
 	help
 	help
@@ -280,7 +259,6 @@ config XILINX_ML510
 config PPC44x_SIMPLE
 config PPC44x_SIMPLE
 	bool "Simple PowerPC 44x board support"
 	bool "Simple PowerPC 44x board support"
 	depends on 44x
 	depends on 44x
-	default n
 	help
 	help
 	  This option enables the simple PowerPC 44x platform support.
 	  This option enables the simple PowerPC 44x platform support.
 
 

+ 0 - 1
arch/powerpc/platforms/82xx/Kconfig

@@ -51,7 +51,6 @@ endif
 
 
 config PQ2ADS
 config PQ2ADS
 	bool
 	bool
-	default n
 
 
 config 8260
 config 8260
 	bool
 	bool

+ 0 - 21
arch/powerpc/platforms/Kconfig

@@ -23,7 +23,6 @@ source "arch/powerpc/platforms/amigaone/Kconfig"
 
 
 config KVM_GUEST
 config KVM_GUEST
 	bool "KVM Guest support"
 	bool "KVM Guest support"
-	default n
 	select EPAPR_PARAVIRT
 	select EPAPR_PARAVIRT
 	---help---
 	---help---
 	  This option enables various optimizations for running under the KVM
 	  This option enables various optimizations for running under the KVM
@@ -34,7 +33,6 @@ config KVM_GUEST
 
 
 config EPAPR_PARAVIRT
 config EPAPR_PARAVIRT
 	bool "ePAPR para-virtualization support"
 	bool "ePAPR para-virtualization support"
-	default n
 	help
 	help
 	  Enables ePAPR para-virtualization support for guests.
 	  Enables ePAPR para-virtualization support for guests.
 
 
@@ -74,7 +72,6 @@ config PPC_DT_CPU_FTRS
 config UDBG_RTAS_CONSOLE
 config UDBG_RTAS_CONSOLE
 	bool "RTAS based debug console"
 	bool "RTAS based debug console"
 	depends on PPC_RTAS
 	depends on PPC_RTAS
-	default n
 
 
 config PPC_SMP_MUXED_IPI
 config PPC_SMP_MUXED_IPI
 	bool
 	bool
@@ -86,16 +83,13 @@ config PPC_SMP_MUXED_IPI
 
 
 config IPIC
 config IPIC
 	bool
 	bool
-	default n
 
 
 config MPIC
 config MPIC
 	bool
 	bool
-	default n
 
 
 config MPIC_TIMER
 config MPIC_TIMER
 	bool "MPIC Global Timer"
 	bool "MPIC Global Timer"
 	depends on MPIC && FSL_SOC
 	depends on MPIC && FSL_SOC
-	default n
 	help
 	help
 	  The MPIC global timer is a hardware timer inside the
 	  The MPIC global timer is a hardware timer inside the
 	  Freescale PIC complying with OpenPIC standard. When the
 	  Freescale PIC complying with OpenPIC standard. When the
@@ -107,7 +101,6 @@ config MPIC_TIMER
 config FSL_MPIC_TIMER_WAKEUP
 config FSL_MPIC_TIMER_WAKEUP
 	tristate "Freescale MPIC global timer wakeup driver"
 	tristate "Freescale MPIC global timer wakeup driver"
 	depends on FSL_SOC &&  MPIC_TIMER && PM
 	depends on FSL_SOC &&  MPIC_TIMER && PM
-	default n
 	help
 	help
 	  The driver provides a way to wake up the system by MPIC
 	  The driver provides a way to wake up the system by MPIC
 	  timer.
 	  timer.
@@ -115,43 +108,35 @@ config FSL_MPIC_TIMER_WAKEUP
 
 
 config PPC_EPAPR_HV_PIC
 config PPC_EPAPR_HV_PIC
 	bool
 	bool
-	default n
 	select EPAPR_PARAVIRT
 	select EPAPR_PARAVIRT
 
 
 config MPIC_WEIRD
 config MPIC_WEIRD
 	bool
 	bool
-	default n
 
 
 config MPIC_MSGR
 config MPIC_MSGR
 	bool "MPIC message register support"
 	bool "MPIC message register support"
 	depends on MPIC
 	depends on MPIC
-	default n
 	help
 	help
 	  Enables support for the MPIC message registers.  These
 	  Enables support for the MPIC message registers.  These
 	  registers are used for inter-processor communication.
 	  registers are used for inter-processor communication.
 
 
 config PPC_I8259
 config PPC_I8259
 	bool
 	bool
-	default n
 
 
 config U3_DART
 config U3_DART
 	bool
 	bool
 	depends on PPC64
 	depends on PPC64
-	default n
 
 
 config PPC_RTAS
 config PPC_RTAS
 	bool
 	bool
-	default n
 
 
 config RTAS_ERROR_LOGGING
 config RTAS_ERROR_LOGGING
 	bool
 	bool
 	depends on PPC_RTAS
 	depends on PPC_RTAS
-	default n
 
 
 config PPC_RTAS_DAEMON
 config PPC_RTAS_DAEMON
 	bool
 	bool
 	depends on PPC_RTAS
 	depends on PPC_RTAS
-	default n
 
 
 config RTAS_PROC
 config RTAS_PROC
 	bool "Proc interface to RTAS"
 	bool "Proc interface to RTAS"
@@ -164,11 +149,9 @@ config RTAS_FLASH
 
 
 config MMIO_NVRAM
 config MMIO_NVRAM
 	bool
 	bool
-	default n
 
 
 config MPIC_U3_HT_IRQS
 config MPIC_U3_HT_IRQS
 	bool
 	bool
-	default n
 
 
 config MPIC_BROKEN_REGREAD
 config MPIC_BROKEN_REGREAD
 	bool
 	bool
@@ -187,15 +170,12 @@ config EEH
 
 
 config PPC_MPC106
 config PPC_MPC106
 	bool
 	bool
-	default n
 
 
 config PPC_970_NAP
 config PPC_970_NAP
 	bool
 	bool
-	default n
 
 
 config PPC_P7_NAP
 config PPC_P7_NAP
 	bool
 	bool
-	default n
 
 
 config PPC_INDIRECT_PIO
 config PPC_INDIRECT_PIO
 	bool
 	bool
@@ -295,7 +275,6 @@ config CPM2
 
 
 config FSL_ULI1575
 config FSL_ULI1575
 	bool
 	bool
-	default n
 	select GENERIC_ISA_DMA
 	select GENERIC_ISA_DMA
 	help
 	help
 	  Supports for the ULI1575 PCIe south bridge that exists on some
 	  Supports for the ULI1575 PCIe south bridge that exists on some

+ 0 - 4
arch/powerpc/platforms/Kconfig.cputype

@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # SPDX-License-Identifier: GPL-2.0
 config PPC64
 config PPC64
 	bool "64-bit kernel"
 	bool "64-bit kernel"
-	default n
 	select ZLIB_DEFLATE
 	select ZLIB_DEFLATE
 	help
 	help
 	  This option selects whether a 32-bit or a 64-bit kernel
 	  This option selects whether a 32-bit or a 64-bit kernel
@@ -369,7 +368,6 @@ config PPC_MM_SLICES
 	bool
 	bool
 	default y if PPC_BOOK3S_64
 	default y if PPC_BOOK3S_64
 	default y if PPC_8xx && HUGETLB_PAGE
 	default y if PPC_8xx && HUGETLB_PAGE
-	default n
 
 
 config PPC_HAVE_PMU_SUPPORT
 config PPC_HAVE_PMU_SUPPORT
        bool
        bool
@@ -383,7 +381,6 @@ config PPC_PERF_CTRS
 config FORCE_SMP
 config FORCE_SMP
 	# Allow platforms to force SMP=y by selecting this
 	# Allow platforms to force SMP=y by selecting this
 	bool
 	bool
-	default n
 	select SMP
 	select SMP
 
 
 config SMP
 config SMP
@@ -424,7 +421,6 @@ config CHECK_CACHE_COHERENCY
 
 
 config PPC_DOORBELL
 config PPC_DOORBELL
 	bool
 	bool
-	default n
 
 
 endmenu
 endmenu
 
 

+ 0 - 3
arch/powerpc/platforms/cell/Kconfig

@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # SPDX-License-Identifier: GPL-2.0
 config PPC_CELL
 config PPC_CELL
 	bool
 	bool
-	default n
 
 
 config PPC_CELL_COMMON
 config PPC_CELL_COMMON
 	bool
 	bool
@@ -22,7 +21,6 @@ config PPC_CELL_NATIVE
 	select IBM_EMAC_RGMII if IBM_EMAC
 	select IBM_EMAC_RGMII if IBM_EMAC
 	select IBM_EMAC_ZMII if IBM_EMAC #test only
 	select IBM_EMAC_ZMII if IBM_EMAC #test only
 	select IBM_EMAC_TAH if IBM_EMAC  #test only
 	select IBM_EMAC_TAH if IBM_EMAC  #test only
-	default n
 
 
 config PPC_IBM_CELL_BLADE
 config PPC_IBM_CELL_BLADE
 	bool "IBM Cell Blade"
 	bool "IBM Cell Blade"
@@ -54,7 +52,6 @@ config SPU_FS
 
 
 config SPU_BASE
 config SPU_BASE
 	bool
 	bool
-	default n
 	select PPC_COPRO_BASE
 	select PPC_COPRO_BASE
 
 
 config CBE_RAS
 config CBE_RAS

+ 0 - 1
arch/powerpc/platforms/maple/Kconfig

@@ -13,7 +13,6 @@ config PPC_MAPLE
 	select PPC_RTAS
 	select PPC_RTAS
 	select MMIO_NVRAM
 	select MMIO_NVRAM
 	select ATA_NONSTANDARD if ATA
 	select ATA_NONSTANDARD if ATA
-	default n
 	help
 	help
           This option enables support for the Maple 970FX Evaluation Board.
           This option enables support for the Maple 970FX Evaluation Board.
 	  For more information, refer to <http://www.970eval.com>
 	  For more information, refer to <http://www.970eval.com>

+ 0 - 1
arch/powerpc/platforms/pasemi/Kconfig

@@ -2,7 +2,6 @@
 config PPC_PASEMI
 config PPC_PASEMI
 	depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
 	depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
 	bool "PA Semi SoC-based platforms"
 	bool "PA Semi SoC-based platforms"
-	default n
 	select MPIC
 	select MPIC
 	select PCI
 	select PCI
 	select PPC_UDBG_16550
 	select PPC_UDBG_16550

+ 0 - 1
arch/powerpc/platforms/powernv/Kconfig

@@ -30,7 +30,6 @@ config OPAL_PRD
 config PPC_MEMTRACE
 config PPC_MEMTRACE
 	bool "Enable removal of RAM from kernel mappings for tracing"
 	bool "Enable removal of RAM from kernel mappings for tracing"
 	depends on PPC_POWERNV && MEMORY_HOTREMOVE
 	depends on PPC_POWERNV && MEMORY_HOTREMOVE
-	default n
 	help
 	help
 	  Enabling this option allows for the removal of memory (RAM)
 	  Enabling this option allows for the removal of memory (RAM)
 	  from the kernel mappings to be used for hardware tracing.
 	  from the kernel mappings to be used for hardware tracing.

+ 0 - 2
arch/powerpc/platforms/ps3/Kconfig

@@ -49,7 +49,6 @@ config PS3_HTAB_SIZE
 config PS3_DYNAMIC_DMA
 config PS3_DYNAMIC_DMA
 	depends on PPC_PS3
 	depends on PPC_PS3
 	bool "PS3 Platform dynamic DMA page table management"
 	bool "PS3 Platform dynamic DMA page table management"
-	default n
 	help
 	help
 	  This option will enable kernel support to take advantage of the
 	  This option will enable kernel support to take advantage of the
 	  per device dynamic DMA page table management provided by the Cell
 	  per device dynamic DMA page table management provided by the Cell
@@ -89,7 +88,6 @@ config PS3_SYS_MANAGER
 config PS3_REPOSITORY_WRITE
 config PS3_REPOSITORY_WRITE
 	bool "PS3 Repository write support" if PS3_ADVANCED
 	bool "PS3 Repository write support" if PS3_ADVANCED
 	depends on PPC_PS3
 	depends on PPC_PS3
-	default n
 	help
 	help
 	  Enables support for writing to the PS3 System Repository.
 	  Enables support for writing to the PS3 System Repository.
 
 

+ 0 - 2
arch/powerpc/platforms/pseries/Kconfig

@@ -28,7 +28,6 @@ config PPC_PSERIES
 config PPC_SPLPAR
 config PPC_SPLPAR
 	depends on PPC_PSERIES
 	depends on PPC_PSERIES
 	bool "Support for shared-processor logical partitions"
 	bool "Support for shared-processor logical partitions"
-	default n
 	help
 	help
 	  Enabling this option will make the kernel run more efficiently
 	  Enabling this option will make the kernel run more efficiently
 	  on logically-partitioned pSeries systems which use shared
 	  on logically-partitioned pSeries systems which use shared
@@ -99,7 +98,6 @@ config PPC_SMLPAR
 	bool "Support for shared-memory logical partitions"
 	bool "Support for shared-memory logical partitions"
 	depends on PPC_PSERIES
 	depends on PPC_PSERIES
 	select LPARCFG
 	select LPARCFG
-	default n
 	help
 	help
 	  Select this option to enable shared memory partition support.
 	  Select this option to enable shared memory partition support.
 	  With this option a system running in an LPAR can be given more
 	  With this option a system running in an LPAR can be given more

+ 0 - 5
arch/powerpc/sysdev/Kconfig

@@ -6,19 +6,16 @@
 config PPC4xx_PCI_EXPRESS
 config PPC4xx_PCI_EXPRESS
 	bool
 	bool
 	depends on PCI && 4xx
 	depends on PCI && 4xx
-	default n
 
 
 config PPC4xx_HSTA_MSI
 config PPC4xx_HSTA_MSI
 	bool
 	bool
 	depends on PCI_MSI
 	depends on PCI_MSI
 	depends on PCI && 4xx
 	depends on PCI && 4xx
-	default n
 
 
 config PPC4xx_MSI
 config PPC4xx_MSI
 	bool
 	bool
 	depends on PCI_MSI
 	depends on PCI_MSI
 	depends on PCI && 4xx
 	depends on PCI && 4xx
-	default n
 
 
 config PPC_MSI_BITMAP
 config PPC_MSI_BITMAP
 	bool
 	bool
@@ -37,11 +34,9 @@ config PPC_SCOM
 config SCOM_DEBUGFS
 config SCOM_DEBUGFS
 	bool "Expose SCOM controllers via debugfs"
 	bool "Expose SCOM controllers via debugfs"
 	depends on PPC_SCOM && DEBUG_FS
 	depends on PPC_SCOM && DEBUG_FS
-	default n
 
 
 config GE_FPGA
 config GE_FPGA
 	bool
 	bool
-	default n
 
 
 config FSL_CORENET_RCPM
 config FSL_CORENET_RCPM
 	bool
 	bool

+ 0 - 3
arch/powerpc/sysdev/xive/Kconfig

@@ -1,17 +1,14 @@
 # SPDX-License-Identifier: GPL-2.0
 # SPDX-License-Identifier: GPL-2.0
 config PPC_XIVE
 config PPC_XIVE
 	bool
 	bool
-	default n
 	select PPC_SMP_MUXED_IPI
 	select PPC_SMP_MUXED_IPI
 	select HARDIRQS_SW_RESEND
 	select HARDIRQS_SW_RESEND
 
 
 config PPC_XIVE_NATIVE
 config PPC_XIVE_NATIVE
 	bool
 	bool
-	default n
 	select PPC_XIVE
 	select PPC_XIVE
 	depends on PPC_POWERNV
 	depends on PPC_POWERNV
 
 
 config PPC_XIVE_SPAPR
 config PPC_XIVE_SPAPR
 	bool
 	bool
-	default n
 	select PPC_XIVE
 	select PPC_XIVE