Commit 2c519f58 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Vineet Gupta

ARC: remove redundant 'default n' from Kconfig

'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 f467c564 ("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: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent ccda4af0
...@@ -176,13 +176,11 @@ endchoice ...@@ -176,13 +176,11 @@ endchoice
config CPU_BIG_ENDIAN config CPU_BIG_ENDIAN
bool "Enable Big Endian Mode" bool "Enable Big Endian Mode"
default n
help help
Build kernel for Big Endian Mode of ARC CPU Build kernel for Big Endian Mode of ARC CPU
config SMP config SMP
bool "Symmetric Multi-Processing" bool "Symmetric Multi-Processing"
default n
select ARC_MCIP if ISA_ARCV2 select ARC_MCIP if ISA_ARCV2
help help
This enables support for systems with more than one CPU. This enables support for systems with more than one CPU.
...@@ -254,7 +252,6 @@ config ARC_CACHE_PAGES ...@@ -254,7 +252,6 @@ config ARC_CACHE_PAGES
config ARC_CACHE_VIPT_ALIASING config ARC_CACHE_VIPT_ALIASING
bool "Support VIPT Aliasing D$" bool "Support VIPT Aliasing D$"
depends on ARC_HAS_DCACHE && ISA_ARCOMPACT depends on ARC_HAS_DCACHE && ISA_ARCOMPACT
default n
endif #ARC_CACHE endif #ARC_CACHE
...@@ -262,7 +259,6 @@ config ARC_HAS_ICCM ...@@ -262,7 +259,6 @@ config ARC_HAS_ICCM
bool "Use ICCM" bool "Use ICCM"
help help
Single Cycle RAMS to store Fast Path Code Single Cycle RAMS to store Fast Path Code
default n
config ARC_ICCM_SZ config ARC_ICCM_SZ
int "ICCM Size in KB" int "ICCM Size in KB"
...@@ -273,7 +269,6 @@ config ARC_HAS_DCCM ...@@ -273,7 +269,6 @@ config ARC_HAS_DCCM
bool "Use DCCM" bool "Use DCCM"
help help
Single Cycle RAMS to store Fast Path Data Single Cycle RAMS to store Fast Path Data
default n
config ARC_DCCM_SZ config ARC_DCCM_SZ
int "DCCM Size in KB" int "DCCM Size in KB"
...@@ -366,13 +361,11 @@ if ISA_ARCOMPACT ...@@ -366,13 +361,11 @@ if ISA_ARCOMPACT
config ARC_COMPACT_IRQ_LEVELS config ARC_COMPACT_IRQ_LEVELS
bool "Setup Timer IRQ as high Priority" bool "Setup Timer IRQ as high Priority"
default n
# if SMP, LV2 enabled ONLY if ARC implementation has LV2 re-entrancy # if SMP, LV2 enabled ONLY if ARC implementation has LV2 re-entrancy
depends on !SMP depends on !SMP
config ARC_FPU_SAVE_RESTORE config ARC_FPU_SAVE_RESTORE
bool "Enable FPU state persistence across context switch" bool "Enable FPU state persistence across context switch"
default n
help help
Double Precision Floating Point unit had dedicated regs which Double Precision Floating Point unit had dedicated regs which
need to be saved/restored across context-switch. need to be saved/restored across context-switch.
...@@ -453,7 +446,6 @@ config HIGHMEM ...@@ -453,7 +446,6 @@ config HIGHMEM
config ARC_HAS_PAE40 config ARC_HAS_PAE40
bool "Support for the 40-bit Physical Address Extension" bool "Support for the 40-bit Physical Address Extension"
default n
depends on ISA_ARCV2 depends on ISA_ARCV2
select HIGHMEM select HIGHMEM
select PHYS_ADDR_T_64BIT select PHYS_ADDR_T_64BIT
...@@ -496,7 +488,6 @@ config HZ ...@@ -496,7 +488,6 @@ config HZ
config ARC_METAWARE_HLINK config ARC_METAWARE_HLINK
bool "Support for Metaware debugger assisted Host access" bool "Support for Metaware debugger assisted Host access"
default n
help help
This options allows a Linux userland apps to directly access This options allows a Linux userland apps to directly access
host file system (open/creat/read/write etc) with help from host file system (open/creat/read/write etc) with help from
...@@ -524,13 +515,11 @@ config ARC_DW2_UNWIND ...@@ -524,13 +515,11 @@ config ARC_DW2_UNWIND
config ARC_DBG_TLB_PARANOIA config ARC_DBG_TLB_PARANOIA
bool "Paranoia Checks in Low Level TLB Handlers" bool "Paranoia Checks in Low Level TLB Handlers"
default n
endif endif
config ARC_UBOOT_SUPPORT config ARC_UBOOT_SUPPORT
bool "Support uboot arg Handling" bool "Support uboot arg Handling"
default n
help help
ARC Linux by default checks for uboot provided args as pointers to ARC Linux by default checks for uboot provided args as pointers to
external cmdline or DTB. This however breaks in absence of uboot, external cmdline or DTB. This however breaks in absence of uboot,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment