Skip to content

Commit 4f44e8a

Browse files
metuxmpe
authored andcommitted
powerpc/Kconfig: Clean up formatting
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Also convert "---help---" as requested. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 6d3ca7e commit 4f44e8a

9 files changed

Lines changed: 54 additions & 56 deletions

File tree

‎arch/powerpc/Kconfig‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ config ARCH_MMAP_RND_COMPAT_BITS_MAX
4848
# Allow randomisation to consume up to 512MB of address space (2^29).
4949
default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K)
5050
default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K)
51-
default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
51+
default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
5252
default 17 # 17 = 29 (512MB) - 12 (4K)
5353

5454
config ARCH_MMAP_RND_COMPAT_BITS_MIN
@@ -247,9 +247,9 @@ config PPC
247247
#
248248

249249
config PPC_BARRIER_NOSPEC
250-
bool
251-
default y
252-
depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
250+
bool
251+
default y
252+
depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
253253

254254
config EARLY_PRINTK
255255
bool
@@ -404,7 +404,7 @@ config HUGETLB_PAGE_SIZE_VARIABLE
404404
config MATH_EMULATION
405405
bool "Math emulation"
406406
depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE
407-
---help---
407+
help
408408
Some PowerPC chips designed for embedded applications do not have
409409
a floating-point unit and therefore do not implement the
410410
floating-point instructions in the PowerPC instruction set. If you
@@ -423,27 +423,27 @@ choice
423423

424424
config MATH_EMULATION_FULL
425425
bool "Emulate all the floating point instructions"
426-
---help---
426+
help
427427
Select this option will enable the kernel to support to emulate
428428
all the floating point instructions. If your SoC doesn't have
429429
a FPU, you should select this.
430430

431431
config MATH_EMULATION_HW_UNIMPLEMENTED
432432
bool "Just emulate the FPU unimplemented instructions"
433-
---help---
433+
help
434434
Select this if you know there does have a hardware FPU on your
435435
SoC, but some floating point instructions are not implemented by that.
436436

437437
endchoice
438438

439439
config PPC_TRANSACTIONAL_MEM
440-
bool "Transactional Memory support for POWERPC"
441-
depends on PPC_BOOK3S_64
442-
depends on SMP
443-
select ALTIVEC
444-
select VSX
445-
---help---
446-
Support user-mode Transactional Memory on POWERPC.
440+
bool "Transactional Memory support for POWERPC"
441+
depends on PPC_BOOK3S_64
442+
depends on SMP
443+
select ALTIVEC
444+
select VSX
445+
help
446+
Support user-mode Transactional Memory on POWERPC.
447447

448448
config LD_HEAD_STUB_CATCH
449449
bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if EXPERT
@@ -463,7 +463,7 @@ config HOTPLUG_CPU
463463
bool "Support for enabling/disabling CPUs"
464464
depends on SMP && (PPC_PSERIES || \
465465
PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE)
466-
---help---
466+
help
467467
Say Y here to be able to disable and re-enable individual
468468
CPUs at runtime on SMP machines.
469469

@@ -831,7 +831,7 @@ config PPC_DENORMALISATION
831831
bool "PowerPC denormalisation exception handling"
832832
depends on PPC_BOOK3S_64
833833
default "y" if PPC_POWERNV
834-
---help---
834+
help
835835
Add support for handling denormalisation of single precision
836836
values. Useful for bare metal only. If unsure say Y here.
837837

@@ -944,7 +944,7 @@ config FSL_SOC
944944
bool
945945

946946
config FSL_PCI
947-
bool
947+
bool
948948
select ARCH_HAS_DMA_SET_MASK
949949
select PPC_INDIRECT_PCI
950950
select PCI_QUIRKS
@@ -992,7 +992,7 @@ config FSL_RIO
992992
bool "Freescale Embedded SRIO Controller support"
993993
depends on RAPIDIO = y && HAVE_RAPIDIO
994994
default "n"
995-
---help---
995+
help
996996
Include support for RapidIO controller on Freescale embedded
997997
processors (MPC8548, MPC8641, etc).
998998

@@ -1056,14 +1056,14 @@ config DYNAMIC_MEMSTART
10561056
select NONSTATIC_KERNEL
10571057
help
10581058
This option enables the kernel to be loaded at any page aligned
1059-
physical address. The kernel creates a mapping from KERNELBASE to
1059+
physical address. The kernel creates a mapping from KERNELBASE to
10601060
the address where the kernel is loaded. The page size here implies
10611061
the TLB page size of the mapping for kernel on the particular platform.
10621062
Please refer to the init code for finding the TLB page size.
10631063

10641064
DYNAMIC_MEMSTART is an easy way of implementing pseudo-RELOCATABLE
10651065
kernel image, where the only restriction is the page aligned kernel
1066-
load address. When this option is enabled, the compile time physical
1066+
load address. When this option is enabled, the compile time physical
10671067
address CONFIG_PHYSICAL_START is ignored.
10681068

10691069
This option is overridden by CONFIG_RELOCATABLE

‎arch/powerpc/kvm/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ config KVM_MPIC
184184
select HAVE_KVM_MSI
185185
help
186186
Enable support for emulating MPIC devices inside the
187-
host kernel, rather than relying on userspace to emulate.
188-
Currently, support is limited to certain versions of
189-
Freescale's MPIC implementation.
187+
host kernel, rather than relying on userspace to emulate.
188+
Currently, support is limited to certain versions of
189+
Freescale's MPIC implementation.
190190

191191
config KVM_XICS
192192
bool "KVM in-kernel XICS emulation"

‎arch/powerpc/platforms/40x/Kconfig‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ config EP405
1616
This option enables support for the EP405/EP405PC boards.
1717

1818
config HOTFOOT
19-
bool "Hotfoot"
19+
bool "Hotfoot"
2020
depends on 40x
2121
select PPC40x_SIMPLE
2222
select FORCE_PCI
23-
help
24-
This option enables support for the ESTEEM 195E Hotfoot board.
23+
help
24+
This option enables support for the ESTEEM 195E Hotfoot board.
2525

2626
config KILAUEA
2727
bool "Kilauea"
@@ -80,7 +80,6 @@ config OBS600
8080
help
8181
This option enables support for PlatHome OpenBlockS 600 server
8282

83-
8483
config PPC40x_SIMPLE
8584
bool "Simple PowerPC 40x board support"
8685
depends on 40x

‎arch/powerpc/platforms/44x/Kconfig‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ config EBONY
4040
This option enables support for the IBM PPC440GP evaluation board.
4141

4242
config SAM440EP
43-
bool "Sam440ep"
43+
bool "Sam440ep"
4444
depends on 44x
45-
select 440EP
46-
select FORCE_PCI
47-
help
48-
This option enables support for the ACube Sam440ep board.
45+
select 440EP
46+
select FORCE_PCI
47+
help
48+
This option enables support for the ACube Sam440ep board.
4949

5050
config SEQUOIA
5151
bool "Sequoia"

‎arch/powerpc/platforms/85xx/Kconfig‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ config SOCRATES
147147
This option enables support for the Socrates board.
148148

149149
config KSI8560
150-
bool "Emerson KSI8560"
151-
select DEFAULT_UIMAGE
152-
help
153-
This option enables support for the Emerson KSI8560 board
150+
bool "Emerson KSI8560"
151+
select DEFAULT_UIMAGE
152+
help
153+
This option enables support for the Emerson KSI8560 board
154154

155155
config XES_MPC85xx
156156
bool "X-ES single-board computer"

‎arch/powerpc/platforms/86xx/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ config GEF_SBC610
6262
This option enables support for the GE SBC610.
6363

6464
config MVME7100
65-
bool "Artesyn MVME7100"
66-
help
67-
This option enables support for the Emerson/Artesyn MVME7100 board.
65+
bool "Artesyn MVME7100"
66+
help
67+
This option enables support for the Emerson/Artesyn MVME7100 board.
6868

6969
endif
7070

‎arch/powerpc/platforms/maple/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ config PPC_MAPLE
1414
select MMIO_NVRAM
1515
select ATA_NONSTANDARD if ATA
1616
help
17-
This option enables support for the Maple 970FX Evaluation Board.
17+
This option enables support for the Maple 970FX Evaluation Board.
1818
For more information, refer to <http://www.970eval.com>

‎arch/powerpc/platforms/pseries/Kconfig‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ config LPARCFG
8181
bool "LPAR Configuration Data"
8282
depends on PPC_PSERIES
8383
help
84-
Provide system capacity information via human readable
85-
<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
84+
Provide system capacity information via human readable
85+
<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
8686

8787
config PPC_PSERIES_DEBUG
8888
depends on PPC_PSERIES && PPC_EARLY_DEBUG
8989
bool "Enable extra debug logging in platforms/pseries"
90-
help
90+
default y
91+
help
9192
Say Y here if you want the pseries core to produce a bunch of
9293
debug messages to the system log. Select this if you are having a
9394
problem with the pseries core and want to see more of what is
9495
going on. This does not enable debugging in lpar.c, which must
9596
be manually done due to its verbosity.
96-
default y
9797

9898
config PPC_SMLPAR
9999
bool "Support for shared-memory logical partitions"
@@ -118,16 +118,16 @@ config CMM
118118
balance memory across many LPARs.
119119

120120
config HV_PERF_CTRS
121-
bool "Hypervisor supplied PMU events (24x7 & GPCI)"
122-
default y
123-
depends on PERF_EVENTS && PPC_PSERIES
124-
help
121+
bool "Hypervisor supplied PMU events (24x7 & GPCI)"
122+
default y
123+
depends on PERF_EVENTS && PPC_PSERIES
124+
help
125125
Enable access to hypervisor supplied counters in perf. Currently,
126126
this enables code that uses the hcall GetPerfCounterInfo and 24x7
127127
interfaces to retrieve counters. GPCI exists on Power 6 and later
128128
systems. 24x7 is available on Power 8 and later systems.
129129

130-
If unsure, select Y.
130+
If unsure, select Y.
131131

132132
config IBMVIO
133133
depends on PPC_PSERIES

‎arch/powerpc/sysdev/xics/Kconfig‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0
22
config PPC_XICS
3-
def_bool n
4-
select PPC_SMP_MUXED_IPI
5-
select HARDIRQS_SW_RESEND
3+
def_bool n
4+
select PPC_SMP_MUXED_IPI
5+
select HARDIRQS_SW_RESEND
66

77
config PPC_ICP_NATIVE
8-
def_bool n
8+
def_bool n
99

1010
config PPC_ICP_HV
11-
def_bool n
11+
def_bool n
1212

1313
config PPC_ICS_RTAS
14-
def_bool n
15-
14+
def_bool n

0 commit comments

Comments
 (0)