Skip to content

Commit bd6e044

Browse files
ulfalizernashif
authored andcommitted
kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <[email protected]>
1 parent 86360cb commit bd6e044

File tree

1,169 files changed

+1769
-4167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,169 files changed

+1769
-4167
lines changed

Kconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Kconfig - general configuration options
1+
# General configuration options
22

3-
#
43
# Copyright (c) 2014-2015 Wind River Systems, Inc.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
5+
86
mainmenu "Zephyr Kernel Configuration"
97

108
source "Kconfig.zephyr"

Kconfig.zephyr

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# Kconfig - general configuration options
1+
# General configuration options
22

3-
#
43
# Copyright (c) 2014-2015 Wind River Systems, Inc.
54
# Copyright (c) 2016 Intel Corporation
6-
#
75
# SPDX-License-Identifier: Apache-2.0
8-
#
96

107
menu "Modules"
118

arch/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# Kconfig - general architecture configuration options
1+
# General architecture configuration options
22

3-
#
43
# Copyright (c) 2014-2015 Wind River Systems, Inc.
54
# Copyright (c) 2015 Intel Corporation
65
# Copyright (c) 2016 Cadence Design Systems, Inc.
7-
#
86
# SPDX-License-Identifier: Apache-2.0
9-
#
107

118
# Include these first so that any properties (e.g. defaults) below can be
129
# overridden (by defining symbols in multiple locations)

arch/arc/Kconfig

-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# ARC options
22

3-
#
43
# Copyright (c) 2014, 2019 Wind River Systems, Inc.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
menu "ARC Options"
107
depends on ARC

arch/arc/core/mpu/Kconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Kconfig - Memory Protection Unit (MPU) configuration options
1+
# Memory Protection Unit (MPU) configuration options
22

3-
#
43
# Copyright (c) 2017 Synopsys
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
5+
86
config ARC_MPU_VER
97
int "ARC MPU version"
108
range 2 4

arch/arm/Kconfig

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# Kconfig - ARM architecture configuration options
1+
# ARM architecture configuration options
22

3-
#
43
# Copyright (c) 2014-2015 Wind River Systems, Inc.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
8-
95

106
menu "ARM Options"
117
depends on ARM

arch/arm/core/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Kconfig - ARM core configuration options
1+
# ARM core configuration options
22

3-
#
43
# Copyright (c) 2015 Wind River Systems, Inc.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
config CPU_CORTEX
107
bool

arch/arm/core/cortex_m/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Kconfig - ARM Cortex-M platform configuration options
1+
# ARM Cortex-M platform configuration options
22

3-
#
43
# Copyright (c) 2014-2015 Wind River Systems, Inc.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
# NOTE: We have the specific core implementations first and outside of the
107
# if CPU_CORTEX_M block so that SoCs can select which core they are using

arch/arm/core/cortex_m/mpu/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Kconfig - Memory Protection Unit (MPU) configuration options
1+
# Memory Protection Unit (MPU) configuration options
22

3-
#
43
# Copyright (c) 2017 Linaro Limited
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
if CPU_HAS_MPU
107

arch/arm/core/cortex_m/tz/Kconfig

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# Kconfig - ARM TrustZone-M core configuration options
1+
# ARM TrustZone-M core configuration options
22

3-
#
43
# Copyright (c) 2018 Nordic Semiconductor ASA.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
75

86
config ARM_TRUSTZONE_M

arch/arm/core/cortex_r/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# Kconfig - ARM Cortex-R platform configuration options
1+
# ARM Cortex-R platform configuration options
22

3-
#
43
# Copyright (c) 2018 Marvell
54
# Copyright (c) 2018 Lexmark International, Inc.
6-
#
75
# SPDX-License-Identifier: Apache-2.0
8-
#
96

107
# NOTE: We have the specific core implementations first and outside of the
118
# if CPU_CORTEX_R block so that SoCs can select which core they are using

arch/nios2/Kconfig

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
#
21
# Copyright (c) 2016 Intel Corporation
3-
#
42
# SPDX-License-Identifier: Apache-2.0
5-
#
63

74
menu "Nios II Options"
85
depends on NIOS2

arch/posix/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Kconfig - General configuration options
1+
# General configuration options
22

3-
#
43
# Copyright (c) 2017 Intel Corporation
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
menu "POSIX (native) Options"
107
depends on ARCH_POSIX

arch/riscv/Kconfig

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
#
21
# Copyright (c) 2016 Jean-Paul Etienne <[email protected]>
3-
#
42
# SPDX-License-Identifier: Apache-2.0
5-
#
63

74
menu "RISCV Options"
85
depends on RISCV

arch/x86/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Kconfig - x86 general configuration options
2-
#
1+
# x86 general configuration options
2+
33
# Copyright (c) 2014-2015 Wind River Systems, Inc.
44
# SPDX-License-Identifier: Apache-2.0
55

arch/x86/core/Kconfig.ia32

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Kconfig.ia32 - IA32-specific X86 subarchitecture options
2-
#
1+
# IA32-specific X86 subarchitecture options
2+
33
# Copyright (c) 2019 Intel Corp.
44
# SPDX-License-Identifier: Apache-2.0
55

arch/x86/core/Kconfig.intel64

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Kconfig.intel64 - Intel64-specific X86 subarchitecture options
2-
#
1+
# Intel64-specific X86 subarchitecture options
2+
33
# Copyright (c) 2019 Intel Corp.
44
# SPDX-License-Identifier: Apache-2.0
55

arch/xtensa/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Kconfig - XTENSA architecture configuration options
2-
#
1+
# XTENSA architecture configuration options
2+
33
# Copyright (c) 2016 Cadence Design Systems, Inc.
44
# SPDX-License-Identifier: Apache-2.0
55

boards/arc/em_starterkit/Kconfig

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Kconfig - DesignWare ARC EM Starter Kit board configuration options
1+
# DesignWare ARC EM Starter Kit board configuration options
22

3-
#
43
# Copyright (c) 2017 Synopsys, Inc. All rights reserved.
5-
#
64
# SPDX-License-Identifier: Apache-2.0
7-
#
85

96
if BOARD_EM_STARTERKIT
107

boards/arc/em_starterkit/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - DesignWare ARC EM Starter Kit board configuration
2-
#
1+
# DesignWare ARC EM Starter Kit board configuration
2+
33
# Copyright (c) 2016 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_EM_STARTERKIT
87
bool "ARC EM Starter Kit"
98
depends on SOC_EMSK

boards/arc/emsdp/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - DesignWare ARC EM Software Development Platform board configuration
2-
#
1+
# DesignWare ARC EM Software Development Platform board configuration
2+
33
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_EMSDP
87
bool "EM Software Development Platform"
98
depends on SOC_ARC_EMSDP

boards/arc/emsdp/Kconfig.defconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - DesignWare ARC EM Software Development Platform board configuration
2-
#
1+
# DesignWare ARC EM Software Development Platform board configuration
2+
33
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
if BOARD_EMSDP
97

boards/arc/hsdk/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - DesignWare ARC HS Development Kit board configuration
2-
#
1+
# DesignWare ARC HS Development Kit board configuration
2+
33
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_HSDK
87
bool "ARC HS Development Kit"
98
depends on SOC_ARC_HSDK

boards/arc/hsdk/Kconfig.defconfig

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#
21
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
3-
#
42
# SPDX-License-Identifier: Apache-2.0
53

64
if BOARD_HSDK

boards/arc/iotdk/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - DesignWare ARC IoT Development Kit board configuration
2-
#
1+
# DesignWare ARC IoT Development Kit board configuration
2+
33
# Copyright (c) 2018 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_IOTDK
87
bool "ARC IoT Development Kit"
98
depends on SOC_ARC_IOT

boards/arc/nsim/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - DesignWare ARC nSIM simulated platform configuration
2-
#
1+
# DesignWare ARC nSIM simulated platform configuration
2+
33
# Copyright (c) 2016, 2019 Synopsys, Inc. All rights reserved.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_NSIM
87
bool "ARC nSIM simulator"
98
depends on SOC_NSIM

boards/arm/96b_argonkey/Kconfig.board

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Kconfig - 96Boards Argonkey Board Configuration
2-
#
1+
# 96Boards Argonkey Board Configuration
2+
33
# Copyright (c) 2018 STMicroelectronics
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
5+
76
config BOARD_96B_ARGONKEY
87
bool "96Boards Argonkey"
98
depends on SOC_STM32F412CG

boards/arm/96b_argonkey/Kconfig.defconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96Boards Argonkey Board Configuration
2-
#
1+
# 96Boards Argonkey Board Configuration
2+
33
# Copyright (c) 2018 STMicroelectronics
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
if BOARD_96B_ARGONKEY
97

boards/arm/96b_avenger96/Kconfig.board

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96Boards Avenger96 board configuration
2-
#
1+
# 96Boards Avenger96 board configuration
2+
33
# Copyright (c) 2019 Linaro Ltd.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
config BOARD_96B_AVENGER96
97
bool "96Boards Avenger96 Board"

boards/arm/96b_avenger96/Kconfig.defconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96Boards Avenger96 board configuration
2-
#
1+
# 96Boards Avenger96 board configuration
2+
33
# Copyright (c) 2019 Linaro Ltd.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
if BOARD_96B_AVENGER96
97

boards/arm/96b_carbon/Kconfig.board

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96boards Carbon STMF401RE board configuration
2-
#
1+
# 96boards Carbon STMF401RE board configuration
2+
33
# Copyright (c) 2016 Linaro Limited.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
config BOARD_96B_CARBON
97
bool "96Boards Carbon (STM32F401)"

boards/arm/96b_carbon/Kconfig.defconfig

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96boards Carbon board configuration
2-
#
1+
# 96boards Carbon board configuration
2+
33
# Copyright (c) 2016 Linaro Limited.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
if BOARD_96B_CARBON
97

boards/arm/96b_carbon_nrf51/Kconfig.board

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# Kconfig - 96Boards Carbon nRF51 board configuration
2-
#
1+
# 96Boards Carbon nRF51 board configuration
2+
33
# Copyright (c) 2016, 2017 Linaro Limited.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
65

76
config BOARD_96B_CARBON_NRF51

boards/arm/96b_carbon_nrf51/Kconfig.defconfig

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# Kconfig - 96Boards Carbon nRF51 board default configuration
2-
#
1+
# 96Boards Carbon nRF51 board default configuration
2+
33
# Copyright (c) 2016, 2017 Linaro Limited.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
65

76
if BOARD_96B_CARBON_NRF51

boards/arm/96b_meerkat96/Kconfig.board

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Kconfig - 96Boards Meerkat96 board
2-
#
1+
# 96Boards Meerkat96 board
2+
33
# Copyright (c) 2019, Linaro Ltd.
4-
#
54
# SPDX-License-Identifier: Apache-2.0
6-
#
75

86
config BOARD_96B_MEERKAT96
97
bool "96Boards Meerkat96 board"

0 commit comments

Comments
 (0)