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 <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-11-01 13:45:29 +01:00 committed by Anas Nashif
commit bd6e04411e
1169 changed files with 1785 additions and 4183 deletions

View file

@ -1,10 +1,8 @@
# Kconfig - ST Microelectronics STM32L4 MCU line
#
# ST Microelectronics STM32L4 MCU line
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
#
# SPDX-License-Identifier: Apache-2.0
#
# Kconfig symbols common to STM32L4 series

View file

@ -1,10 +1,8 @@
# Kconfig - ST Microelectronics STM32L432XX MCU
#
# ST Microelectronics STM32L432XX MCU
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L432XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L433XX MCU
#
# ST Microelectronics STM32L433XX MCU
# Copyright (c) 2018 David Lamparter
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L433XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L452XX MCU
#
# ST Microelectronics STM32L452XX MCU
# Copyright (c) 2018 Georgij Cernysiov
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L452XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L476RG MCU
#
# ST Microelectronics STM32L476RG MCU
# Copyright (c) 2018 Allterco Robotics
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L471XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L475xG MCU
#
# ST Microelectronics STM32L475xG MCU
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L475XX

View file

@ -1,10 +1,8 @@
# Kconfig - ST Microelectronics STM32L476RG MCU
#
# ST Microelectronics STM32L476RG MCU
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L476XX

View file

@ -1,11 +1,9 @@
# Kconfig - ST Microelectronics STM32L496xx MCU
#
# ST Microelectronics STM32L496xx MCU
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
# Copyright (c) 2019 Centaur Analytics, Inc
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L496XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L4R5xx MCU
#
# ST Microelectronics STM32L4R5xx MCU
# Copyright (c) 2018 Pushpal Sidhu
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L4R5XX

View file

@ -1,9 +1,7 @@
# Kconfig - ST Microelectronics STM32L4R9xx MCU
#
# ST Microelectronics STM32L4R9xx MCU
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32L4R9XX

View file

@ -1,10 +1,8 @@
# Kconfig - ST Microelectronics STM32L4 MCU series
#
# ST Microelectronics STM32L4 MCU series
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_SERIES_STM32L4X
bool "STM32L4x Series MCU"

View file

@ -1,12 +1,10 @@
# Kconfig - ST Microelectronics STM32L4 MCU line
#
# ST Microelectronics STM32L4 MCU line
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 BayLibre, SAS
# Copyright (c) 2019 Centaur Analytics, Inc
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
choice
prompt "STM32L4x MCU Selection"