Skip to content

Commit 371a415

Browse files
metuxpaulburton
authored andcommitted
arch: mips: Kconfig: pedantic formatting
Formatting of Kconfig files doesn't look so pretty, so let the Great White Handkerchief come around and clean it up. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-kernel@vger.kernel.org Cc: hauke@hauke-m.de Cc: zajec5@gmail.com Cc: f.fainelli@gmail.com Cc: bcm-kernel-feedback-list@broadcom.com Cc: linux-mips@vger.kernel.org
1 parent 716850a commit 371a415

4 files changed

Lines changed: 39 additions & 40 deletions

File tree

‎arch/mips/Kconfig‎

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ config BCM47XX
275275
select BCM47XX_SPROM
276276
select BCM47XX_SSB if !BCM47XX_BCMA
277277
help
278-
Support for BCM47XX based boards
278+
Support for BCM47XX based boards
279279

280280
config BCM63XX
281281
bool "Broadcom BCM63XX based boards"
@@ -294,7 +294,7 @@ config BCM63XX
294294
select MIPS_L1_CACHE_SHIFT_4
295295
select CLKDEV_LOOKUP
296296
help
297-
Support for BCM63XX based boards
297+
Support for BCM63XX based boards
298298

299299
config MIPS_COBALT
300300
bool "Cobalt Server"
@@ -373,10 +373,10 @@ config MACH_JAZZ
373373
select SYS_SUPPORTS_64BIT_KERNEL
374374
select SYS_SUPPORTS_100HZ
375375
help
376-
This a family of machines based on the MIPS R4030 chipset which was
377-
used by several vendors to build RISC/os and Windows NT workstations.
378-
Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
379-
Olivetti M700-10 workstations.
376+
This a family of machines based on the MIPS R4030 chipset which was
377+
used by several vendors to build RISC/os and Windows NT workstations.
378+
Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
379+
Olivetti M700-10 workstations.
380380

381381
config MACH_INGENIC
382382
bool "Ingenic SoC based machines"
@@ -572,14 +572,14 @@ config NXP_STB220
572572
bool "NXP STB220 board"
573573
select SOC_PNX833X
574574
help
575-
Support for NXP Semiconductors STB220 Development Board.
575+
Support for NXP Semiconductors STB220 Development Board.
576576

577577
config NXP_STB225
578578
bool "NXP 225 board"
579579
select SOC_PNX833X
580580
select SOC_PNX8335
581581
help
582-
Support for NXP Semiconductors STB225 Development Board.
582+
Support for NXP Semiconductors STB225 Development Board.
583583

584584
config PMC_MSP
585585
bool "PMC-Sierra MSP chipsets"
@@ -721,9 +721,9 @@ config SGI_IP28
721721
select SYS_SUPPORTS_64BIT_KERNEL
722722
select SYS_SUPPORTS_BIG_ENDIAN
723723
select MIPS_L1_CACHE_SHIFT_7
724-
help
725-
This is the SGI Indigo2 with R10000 processor. To compile a Linux
726-
kernel that runs on these, say Y here.
724+
help
725+
This is the SGI Indigo2 with R10000 processor. To compile a Linux
726+
kernel that runs on these, say Y here.
727727

728728
config SGI_IP32
729729
bool "SGI IP32 (O2)"
@@ -1174,9 +1174,9 @@ config HOLES_IN_ZONE
11741174
config SYS_SUPPORTS_RELOCATABLE
11751175
bool
11761176
help
1177-
Selected if the platform supports relocating the kernel.
1178-
The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
1179-
to allow access to command line and entropy sources.
1177+
Selected if the platform supports relocating the kernel.
1178+
The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
1179+
to allow access to command line and entropy sources.
11801180

11811181
config MIPS_CBPF_JIT
11821182
def_bool y
@@ -2119,8 +2119,8 @@ config MIPS_PGD_C0_CONTEXT
21192119
# Set to y for ptrace access to watch registers.
21202120
#
21212121
config HARDWARE_WATCHPOINTS
2122-
bool
2123-
default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6
2122+
bool
2123+
default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6
21242124

21252125
menu "Kernel type"
21262126

@@ -2184,10 +2184,10 @@ config PAGE_SIZE_4KB
21842184
bool "4kB"
21852185
depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
21862186
help
2187-
This option select the standard 4kB Linux page size. On some
2188-
R3000-family processors this is the only available page size. Using
2189-
4kB page size will minimize memory consumption and is therefore
2190-
recommended for low memory systems.
2187+
This option select the standard 4kB Linux page size. On some
2188+
R3000-family processors this is the only available page size. Using
2189+
4kB page size will minimize memory consumption and is therefore
2190+
recommended for low memory systems.
21912191

21922192
config PAGE_SIZE_8KB
21932193
bool "8kB"
@@ -2480,7 +2480,6 @@ config SB1_PASS_2_1_WORKAROUNDS
24802480
depends on CPU_SB1 && CPU_SB1_PASS_2
24812481
default y
24822482

2483-
24842483
choice
24852484
prompt "SmartMIPS or microMIPS ASE support"
24862485

@@ -2688,16 +2687,16 @@ config RANDOMIZE_BASE
26882687
bool "Randomize the address of the kernel image"
26892688
depends on RELOCATABLE
26902689
---help---
2691-
Randomizes the physical and virtual address at which the
2692-
kernel image is loaded, as a security feature that
2693-
deters exploit attempts relying on knowledge of the location
2694-
of kernel internals.
2690+
Randomizes the physical and virtual address at which the
2691+
kernel image is loaded, as a security feature that
2692+
deters exploit attempts relying on knowledge of the location
2693+
of kernel internals.
26952694

2696-
Entropy is generated using any coprocessor 0 registers available.
2695+
Entropy is generated using any coprocessor 0 registers available.
26972696

2698-
The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
2697+
The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET.
26992698

2700-
If unsure, say N.
2699+
If unsure, say N.
27012700

27022701
config RANDOMIZE_BASE_MAX_OFFSET
27032702
hex "Maximum kASLR offset" if EXPERT
@@ -2827,7 +2826,7 @@ choice
28272826
prompt "Timer frequency"
28282827
default HZ_250
28292828
help
2830-
Allows the configuration of the timer frequency.
2829+
Allows the configuration of the timer frequency.
28312830

28322831
config HZ_24
28332832
bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ
@@ -3127,10 +3126,10 @@ config ARCH_MMAP_RND_BITS_MAX
31273126
default 15
31283127

31293128
config ARCH_MMAP_RND_COMPAT_BITS_MIN
3130-
default 8
3129+
default 8
31313130

31323131
config ARCH_MMAP_RND_COMPAT_BITS_MAX
3133-
default 15
3132+
default 15
31343133

31353134
config I8253
31363135
bool

‎arch/mips/bcm47xx/Kconfig‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ config BCM47XX_SSB
1515
select SSB_DRIVER_GPIO
1616
default y
1717
help
18-
Add support for old Broadcom BCM47xx boards with Sonics Silicon Backplane support.
18+
Add support for old Broadcom BCM47xx boards with Sonics Silicon Backplane support.
1919

20-
This will generate an image with support for SSB and MIPS32 R1 instruction set.
20+
This will generate an image with support for SSB and MIPS32 R1 instruction set.
2121

2222
config BCM47XX_BCMA
2323
bool "BCMA Support for Broadcom BCM47XX"
@@ -31,8 +31,8 @@ config BCM47XX_BCMA
3131
select BCMA_DRIVER_GPIO
3232
default y
3333
help
34-
Add support for new Broadcom BCM47xx boards with Broadcom specific Advanced Microcontroller Bus.
34+
Add support for new Broadcom BCM47xx boards with Broadcom specific Advanced Microcontroller Bus.
3535

36-
This will generate an image with support for BCMA and MIPS32 R2 instruction set.
36+
This will generate an image with support for BCMA and MIPS32 R2 instruction set.
3737

3838
endif

‎arch/mips/bcm63xx/boards/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ choice
55
default BOARD_BCM963XX
66

77
config BOARD_BCM963XX
8-
bool "Generic Broadcom 963xx boards"
8+
bool "Generic Broadcom 963xx boards"
99
select SSB
1010

1111
endchoice

‎arch/mips/pic32/Kconfig‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ choice
3939
Select the devicetree.
4040

4141
config DTB_PIC32_NONE
42-
bool "None"
42+
bool "None"
4343

4444
config DTB_PIC32_MZDA_SK
45-
bool "PIC32MZDA Starter Kit"
46-
depends on PIC32MZDA
47-
select BUILTIN_DTB
45+
bool "PIC32MZDA Starter Kit"
46+
depends on PIC32MZDA
47+
select BUILTIN_DTB
4848

4949
endchoice
5050

0 commit comments

Comments
 (0)