Commit 54f0f3b2 authored by Palmer Dabbelt's avatar Palmer Dabbelt

riscv: Kconfig: Style cleanups

The majority of the Kconfig files use a single tab for basic indentation
and a single tab followed by two whitespaces for help text indentation.
Fix the lines that don't follow this convention.

While at it, add trailing comments to endif/endmenu statements for
better readability.

* 'riscv-kconfig_cleanups' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/palmer/linux:
  riscv: Kconfig.socs: Add comments
  riscv: Kconfig.erratas: Add comments
  riscv: Kconfig: Fix indentation and add comments
parents bb356ddb ca503bb2
......@@ -385,7 +385,7 @@ config FPU
If you don't know what to do here, say Y.
endmenu
endmenu # "Platform type"
menu "Kernel features"
......@@ -474,7 +474,7 @@ config COMPAT
If you want to execute 32-bit userspace applications, say Y.
endmenu
endmenu # "Kernel features"
menu "Boot options"
......@@ -510,7 +510,6 @@ config CMDLINE_EXTEND
cases where the provided arguments are insufficient and
you don't want to or cannot modify them.
config CMDLINE_FORCE
bool "Always use the default kernel command string"
help
......@@ -602,7 +601,7 @@ config XIP_PHYS_ADDR
be linked for and stored to. This address is dependent on your
own flash usage.
endmenu
endmenu # "Boot options"
config BUILTIN_DTB
bool
......@@ -613,12 +612,12 @@ menu "Power management options"
source "kernel/power/Kconfig"
endmenu
endmenu # "Power management options"
menu "CPU Power Management"
source "drivers/cpuidle/Kconfig"
endmenu
endmenu # "CPU Power Management"
source "arch/riscv/kvm/Kconfig"
......@@ -55,4 +55,4 @@ config ERRATA_THEAD_PBMT
If you don't know what to do here, say "Y".
endmenu
endmenu # "CPU errata selection"
......@@ -78,6 +78,6 @@ config SOC_CANAAN_K210_DTB_SOURCE
for the DTS file that will be used to produce the DTB linked into the
kernel.
endif
endif # SOC_CANAAN
endmenu
endmenu # "SoC selection"
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