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,7 +1,4 @@
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
source "soc/arm/nxp_imx/*/Kconfig.defconfig.series"

View file

@ -1,7 +1,4 @@
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
source "soc/arm/nxp_imx/*/Kconfig.series"

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX 6SoloX
#
# i.MX 6SoloX
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MCIMX6X_M4

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX 6SoloX M4 core series
#
# i.MX 6SoloX M4 core series
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_IMX_6X_M4

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX 6SoloX M4 core series
#
# i.MX 6SoloX M4 core series
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_SERIES_IMX_6X_M4
bool "i.MX 6SoloX M4 Core Series"

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX 6SoloX M4 core series
#
# i.MX 6SoloX M4 core series
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
choice
prompt "i.MX 6SoloX Selection"

View file

@ -1,9 +1,7 @@
# Kconfig - iMX7 M4 core series
#
# iMX7 M4 core series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MCIMX7_M4

View file

@ -1,9 +1,7 @@
# Kconfig - iMX7 M4 core series
#
# iMX7 M4 core series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_IMX7_M4

View file

@ -1,9 +1,7 @@
# Kconfig - iMX7 M4 core series
#
# iMX7 M4 core series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_SERIES_IMX7_M4
bool "i.MX7 M4 Core Series"

View file

@ -1,9 +1,7 @@
# Kconfig - iMX7 M4 core series
#
# iMX7 M4 core series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
choice
prompt "i.MX7 M4 Selection"

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT1015
#
# i.MX RT1015
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1015

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT1021
#
# i.MX RT1021
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1021

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT1052
#
# i.MX RT1052
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1052

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT1062
#
# i.MX RT1062
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1062

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT1064
#
# i.MX RT1064
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1064

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT series
#
# i.MX RT series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_IMX_RT

View file

@ -1,9 +1,7 @@
# Kconfig - iMX RT series
#
# iMX RT series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_SERIES_IMX_RT
bool "i.MX RT Series"

View file

@ -1,9 +1,7 @@
# Kconfig - i.MX RT series
#
# i.MX RT series
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
choice
prompt "i.MX RT Selection"