This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f22cff9b0b arch/arm/src/mx8mp/Kconfig: Fix Kconfig style
f22cff9b0b is described below

commit f22cff9b0b43cee62004b90974735efed9120610
Author: simbit18 <101105604+simbi...@users.noreply.github.com>
AuthorDate: Wed Oct 11 16:10:55 2023 +0200

    arch/arm/src/mx8mp/Kconfig: Fix Kconfig style
    
    Remove extra TABs
    Add comments
---
 arch/arm/src/mx8mp/Kconfig | 126 ++++++++++++++++++++++-----------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

diff --git a/arch/arm/src/mx8mp/Kconfig b/arch/arm/src/mx8mp/Kconfig
index d03d100e00..91213bb7cf 100644
--- a/arch/arm/src/mx8mp/Kconfig
+++ b/arch/arm/src/mx8mp/Kconfig
@@ -43,45 +43,45 @@ config MX8MP_I2C
 
 if MX8MP_I2C
 
-       config MX8MP_I2C1
-               bool "I2C1"
-               default n
-               select I2C
-
-       config MX8MP_I2C2
-               bool "I2C2"
-               default n
-               select I2C
-
-       config MX8MP_I2C3
-               bool "I2C3"
-               default n
-               select I2C
-
-       config MX8MP_I2C4
-               bool "I2C4"
-               default n
-               select I2C
-
-       config MX8MP_I2C5
-               bool "I2C5"
-               default n
-               select I2C
-
-       config MX8MP_I2C6
-               bool "I2C6"
-               default n
-               select I2C
-
-       config MX8MP_I2C_DRIVER
-               bool "I2C character driver"
-               default n
-               select I2C_DRIVER
-               ---help---
-                       Build in support for a character driver at /dev/i2c[N] 
that may be
-                       used to perform I2C bus transfers from applications.  
The intent of
-                       this driver is to support I2C testing.  It is not 
suitable for use
-                       in any real driver application.
+config MX8MP_I2C1
+       bool "I2C1"
+       default n
+       select I2C
+
+config MX8MP_I2C2
+       bool "I2C2"
+       default n
+       select I2C
+
+config MX8MP_I2C3
+       bool "I2C3"
+       default n
+       select I2C
+
+config MX8MP_I2C4
+       bool "I2C4"
+       default n
+       select I2C
+
+config MX8MP_I2C5
+       bool "I2C5"
+       default n
+       select I2C
+
+config MX8MP_I2C6
+       bool "I2C6"
+       default n
+       select I2C
+
+config MX8MP_I2C_DRIVER
+       bool "I2C character driver"
+       default n
+       select I2C_DRIVER
+       ---help---
+               Build in support for a character driver at /dev/i2c[N] that may 
be
+               used to perform I2C bus transfers from applications.  The 
intent of
+               this driver is to support I2C testing.  It is not suitable for 
use
+               in any real driver application.
 
 endif # MX8MP_I2C
 
@@ -97,33 +97,33 @@ config MX8MP_SPI
 
 if MX8MP_SPI
 
-       config MX8MP_SPI1
-               bool "SPI1"
-               default n
-               select SPI
-
-       config MX8MP_SPI2
-               bool "SPI2"
-               default n
-               select SPI
-
-       config MX8MP_SPI3
-               bool "SPI3"
-               default n
-               select SPI
-
-       config MX8MP_SPI_DRIVER
-               bool "SPI character driver"
-               default n
-               select SPI_DRIVER
-               ---help---
-                       Build in support for a character driver at /dev/spi[N] 
that may b
-                       used to perform SPI bus transfers from applications.  
The intent of
-                       this driver is to support SPI testing.
+config MX8MP_SPI1
+       bool "SPI1"
+       default n
+       select SPI
+
+config MX8MP_SPI2
+       bool "SPI2"
+       default n
+       select SPI
+
+config MX8MP_SPI3
+       bool "SPI3"
+       default n
+       select SPI
+
+config MX8MP_SPI_DRIVER
+       bool "SPI character driver"
+       default n
+       select SPI_DRIVER
+       ---help---
+               Build in support for a character driver at /dev/spi[N] that may 
b
+               used to perform SPI bus transfers from applications.  The 
intent of
+               this driver is to support SPI testing.
 
 endif # MX8MP_SPI
 
-endmenu
+endmenu # i.MX8MP Peripheral Selection
 
 # These "hidden" settings determine whether a peripheral option is available
 # for the selected MCU

Reply via email to