Browse Source

kconfig: fix typo in (arch, boards, kernel, modules, samples, share)

Utilize a code spell-checking tool to scan for and correct spelling errors
in `Kconfig` files within the `arch`, `boards`, `kernel`, `modules`,
`samples`, and `share` directory.
Additionally, incorporates a fix recommended by the reviewer.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
pull/88157/merge
Pisit Sawangvonganan 2 weeks ago committed by Dan Kalowsky
parent
commit
a163f9db61
  1. 2
      Kconfig.zephyr
  2. 8
      arch/arc/Kconfig
  3. 2
      arch/arc/core/dsp/Kconfig
  4. 2
      arch/arm/Kconfig
  5. 2
      arch/riscv/Kconfig
  6. 2
      arch/xtensa/Kconfig
  7. 2
      boards/qemu/cortex_m3/Kconfig.defconfig
  8. 2
      boards/telink/tlsr9518adk80d/Kconfig.defconfig
  9. 2
      kernel/Kconfig
  10. 4
      modules/Kconfig.mcuboot
  11. 4
      modules/hal_nxp/mcux/Kconfig.mcux
  12. 10
      modules/mbedtls/Kconfig.mbedtls
  13. 4
      modules/trusted-firmware-m/Kconfig.tfm.partitions
  14. 2
      samples/drivers/i2s/i2s_codec/Kconfig
  15. 4
      samples/net/syslog_net/Kconfig
  16. 2
      share/sysbuild/images/bootloader/Kconfig

2
Kconfig.zephyr

@ -507,7 +507,7 @@ config SIZE_OPTIMIZATIONS
config SIZE_OPTIMIZATIONS_AGGRESSIVE config SIZE_OPTIMIZATIONS_AGGRESSIVE
bool "Aggressively optimize for size" bool "Aggressively optimize for size"
help help
Compiler optimizations wil be set to -Oz independently of other Compiler optimizations will be set to -Oz independently of other
options. options.
config SPEED_OPTIMIZATIONS config SPEED_OPTIMIZATIONS

8
arch/arc/Kconfig

@ -258,10 +258,10 @@ config ARC_CURRENT_THREAD_USE_NO_TLS
select CURRENT_THREAD_USE_NO_TLS select CURRENT_THREAD_USE_NO_TLS
default y if (RGF_NUM_BANKS > 1) || ("$(ZEPHYR_TOOLCHAIN_VARIANT)" = "arcmwdt") default y if (RGF_NUM_BANKS > 1) || ("$(ZEPHYR_TOOLCHAIN_VARIANT)" = "arcmwdt")
help help
Disable current Thread Local Storage for ARC. For cores with more then one Disable current Thread Local Storage for ARC. For cores with more than one
RGF_NUM_BANKS the parameter is disabled by-default because banks syncronization RGF_NUM_BANKS the parameter is disabled by-default because banks synchronization
requires significant time, and it slows down performance. requires significant time, and it slows down performance.
ARCMWDT works with tls pointer in different way then GCC. Optimized access to ARCMWDT works with TLS pointer in different way then GCC. Optimized access to
TLS pointer via the _current symbol does not provide significant advantages TLS pointer via the _current symbol does not provide significant advantages
in case of MetaWare. in case of MetaWare.
@ -274,7 +274,7 @@ config GEN_IRQ_START_VECTOR
config HARVARD config HARVARD
bool "Harvard Architecture" bool "Harvard Architecture"
help help
The ARC CPU can be configured to have two busses; The ARC CPU can be configured to have two buses;
one for instruction fetching and another that serves as a data bus. one for instruction fetching and another that serves as a data bus.
config CODE_DENSITY config CODE_DENSITY

2
arch/arc/core/dsp/Kconfig

@ -39,7 +39,7 @@ config ARC_XY_ENABLE
bool "ARC address generation unit registers" bool "ARC address generation unit registers"
help help
Processors with XY memory and AGU registers can configure this Processors with XY memory and AGU registers can configure this
option to accelerate DSP instrctions. option to accelerate DSP instructions.
config ARC_AGU_SHARING config ARC_AGU_SHARING
bool "ARC address generation unit register sharing" bool "ARC address generation unit register sharing"

2
arch/arm/Kconfig

@ -49,7 +49,7 @@ config ROMSTART_RELOCATION_ROM
Most SOCs include an alias for the boot-vector at address 0x00000000 Most SOCs include an alias for the boot-vector at address 0x00000000
so a default which might be supported by the corresponding Linux rproc driver. so a default which might be supported by the corresponding Linux rproc driver.
If it is not, additionnal options allows to specify the addresses. If it is not, additional options allow to specify the addresses.
In general this option should be chosen if the zephyr,flash chosen node In general this option should be chosen if the zephyr,flash chosen node
is not placed into the boot-vector memory area. is not placed into the boot-vector memory area.

2
arch/riscv/Kconfig

@ -273,7 +273,7 @@ config RISCV_RESERVED_IRQ_ISR_TABLES_OFFSET
default 0 default 0
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
On some RISCV platform the first interrupt vectors are primarly On some RISCV platform the first interrupt vectors are primarily
intended for inter-hart interrupt signaling and so retained for that intended for inter-hart interrupt signaling and so retained for that
purpose and not available. When this option is set, all the IRQ purpose and not available. When this option is set, all the IRQ
vectors are shifted by this offset value when installed into the vectors are shifted by this offset value when installed into the

2
arch/xtensa/Kconfig

@ -205,7 +205,7 @@ config XTENSA_MMU_NUM_L1_TABLES
default 1 if !USERSPACE default 1 if !USERSPACE
default 4 default 4
help help
This option specifies the maximum number of traslation tables. This option specifies the maximum number of translation tables.
Translation tables are directly related to the number of Translation tables are directly related to the number of
memory domains in the target, considering the kernel itself requires one. memory domains in the target, considering the kernel itself requires one.

2
boards/qemu/cortex_m3/Kconfig.defconfig

@ -13,7 +13,7 @@ choice NULL_POINTER_EXCEPTION_DETECTION
endchoice endchoice
# BT relies on PSA Crypto API to perform crypto operations and, on this platform, # BT relies on PSA Crypto API to perform crypto operations and, on this platform,
# these APIs are provided thougth Mbed TLS. Unfortunately this platform is not # these APIs are provided through Mbed TLS. Unfortunately, this platform is not
# provided with a true random number generator which is required to properly # provided with a true random number generator which is required to properly
# initialize the PSA Crypto core, so we need to enable the fake TEST_RANDOM_GENERATOR. # initialize the PSA Crypto core, so we need to enable the fake TEST_RANDOM_GENERATOR.
config TEST_RANDOM_GENERATOR config TEST_RANDOM_GENERATOR

2
boards/telink/tlsr9518adk80d/Kconfig.defconfig

@ -12,7 +12,7 @@ DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
config FLASH_LOAD_OFFSET config FLASH_LOAD_OFFSET
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) if USE_DT_CODE_PARTITION default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) if USE_DT_CODE_PARTITION
# Buffer for image writter shall be less(multiple of access alignment) or # Buffer for image written shall be less(multiple of access alignment) or
# equal to flash page. tlsr9518adk80d boards use external P25Q16 IC as # equal to flash page. tlsr9518adk80d boards use external P25Q16 IC as
# flesh memory. Flash page size of the IC is 256 bytes. So that, it is # flesh memory. Flash page size of the IC is 256 bytes. So that, it is
# maximum image writer buffer size for such kind of boards. # maximum image writer buffer size for such kind of boards.

2
kernel/Kconfig

@ -943,7 +943,7 @@ config STACK_CANARIES_STRONG
select REQUIRES_STACK_CANARIES select REQUIRES_STACK_CANARIES
help help
This option enables compiler stack canaries in functions that call alloca, This option enables compiler stack canaries in functions that call alloca,
functions that have local array definitiion or have references to local functions that have local array definition or have references to local
frame addresses. frame addresses.
config STACK_CANARIES_ALL config STACK_CANARIES_ALL

4
modules/Kconfig.mcuboot

@ -208,7 +208,7 @@ config MCUBOOT_BOOTLOADER_MODE_RAM_LOAD
will select the image with the higher version number, copy it to RAM and begin execution will select the image with the higher version number, copy it to RAM and begin execution
from there. The image must be linked to execute from RAM, the address that it is copied from there. The image must be linked to execute from RAM, the address that it is copied
to is specified using the load-addr argument when running imgtool. to is specified using the load-addr argument when running imgtool.
This option automatically selectes MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible This option automatically selects MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible
to swap back to older version of the application. to swap back to older version of the application.
config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
@ -221,7 +221,7 @@ config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
select one with higher application image version, which usually select one with higher application image version, which usually
means major.minor.patch triple, unless BOOT_VERSION_CMP_USE_BUILD_NUMBER means major.minor.patch triple, unless BOOT_VERSION_CMP_USE_BUILD_NUMBER
is also selected that enables comparison of build number. is also selected that enables comparison of build number.
This option automatically selectes This option automatically selects
MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible
to swap back to older version of application. to swap back to older version of application.

4
modules/hal_nxp/mcux/Kconfig.mcux

@ -15,7 +15,7 @@ if HAS_MCUX
config MCUX_CORE_SUFFIX config MCUX_CORE_SUFFIX
string string
help help
String describing the core identifer used by MCUX SDK when using String describing the core identifier used by MCUX SDK when using
dual core parts dual core parts
config HAS_MCUX_ADC12 config HAS_MCUX_ADC12
@ -373,7 +373,7 @@ config HAS_NXP_MONOLITHIC_NBU
config NXP_FW_LOADER config NXP_FW_LOADER
bool "Include firmware loader component" bool "Include firmware loader component"
help help
The firmware loader is used to load firmwares to embedded tranceivers. The firmware loader is used to load firmwares to embedded transceivers.
It is needed to enable connectivity features. It is needed to enable connectivity features.
config NXP_MONOLITHIC_WIFI config NXP_MONOLITHIC_WIFI

10
modules/mbedtls/Kconfig.mbedtls

@ -505,11 +505,11 @@ config MBEDTLS_SSL_CACHE_C
if MBEDTLS_SSL_CACHE_C if MBEDTLS_SSL_CACHE_C
config MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT config MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT
int "Default timeout for SSL cache entires" int "Default timeout for SSL cache entries"
default 86400 default 86400
config MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES config MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES
int "Maximum number of SSL cache entires" int "Maximum number of SSL cache entries"
default 5 default 5
endif # MBEDTLS_SSL_CACHE_C endif # MBEDTLS_SSL_CACHE_C
@ -564,7 +564,7 @@ config MBEDTLS_PSA_CRYPTO_LEGACY_RNG
used, then the generated data will only be pseudo random. Strong used, then the generated data will only be pseudo random. Strong
entropy sources are strongly recommended (if possible) to have real entropy sources are strongly recommended (if possible) to have real
random data. random data.
Another difference betwen this implementation and the Another difference between this implementation and the
MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG counterpart is the memory footprint: MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG counterpart is the memory footprint:
this implementation brings in legacy modules which are not required this implementation brings in legacy modules which are not required
in the "external" version, so the footprint is larger. in the "external" version, so the footprint is larger.
@ -612,7 +612,7 @@ config MBEDTLS_PSA_P256M_DRIVER_ENABLED
bool "P256-M driver" bool "P256-M driver"
imply PSA_WANT_ALG_SHA_256 imply PSA_WANT_ALG_SHA_256
help help
Enable support for the optimized sofware implementation of the secp256r1 Enable support for the optimized software implementation of the secp256r1
curve through the standard PSA API. curve through the standard PSA API.
config MBEDTLS_PSA_P256M_DRIVER_RAW config MBEDTLS_PSA_P256M_DRIVER_RAW
@ -621,7 +621,7 @@ config MBEDTLS_PSA_P256M_DRIVER_RAW
help help
Allow direct access to the p256-m driver interface. Allow direct access to the p256-m driver interface.
Warning: Usage of this Kconfig option is prohibited in Zephyr's codebase. Warning: Usage of this Kconfig option is prohibited in Zephyr's codebase.
Users can enable it in case of very memory-constrained devices, but be aware that the p256-m interface is absolutely not guaranted to remain stable over time. Users can enable it in case of very memory-constrained devices, but be aware that the p256-m interface is absolutely not guaranteed to remain stable over time.
config MBEDTLS_PSA_CRYPTO_STORAGE_C config MBEDTLS_PSA_CRYPTO_STORAGE_C
bool bool

4
modules/trusted-firmware-m/Kconfig.tfm.partitions

@ -7,7 +7,7 @@ if BUILD_WITH_TFM
config TFM_PARTITION_PROTECTED_STORAGE config TFM_PARTITION_PROTECTED_STORAGE
bool "Secure partition 'Protected Storage'" bool "Secure partition 'Protected Storage'"
depends on TFM_PARTITION_PLATFORM # Specfically TFM_SP_PLATFORM_NV_COUNTER service depends on TFM_PARTITION_PLATFORM # Specifically TFM_SP_PLATFORM_NV_COUNTER service
depends on TFM_PARTITION_INTERNAL_TRUSTED_STORAGE depends on TFM_PARTITION_INTERNAL_TRUSTED_STORAGE
depends on TFM_PARTITION_CRYPTO depends on TFM_PARTITION_CRYPTO
default y default y
@ -65,7 +65,7 @@ config TFM_PARTITION_PLATFORM
repository. repository.
config TFM_PARTITION_FIRMWARE_UPDATE config TFM_PARTITION_FIRMWARE_UPDATE
bool "Include the secure parition 'Firmware Update'" bool "Include the secure partition 'Firmware Update'"
select TFM_MCUBOOT_DATA_SHARING select TFM_MCUBOOT_DATA_SHARING
default n default n
help help

2
samples/drivers/i2s/i2s_codec/Kconfig

@ -9,7 +9,7 @@ config I2S_INIT_BUFFERS
help help
Controls the initial count of audio data blocks, which are (optionally) Controls the initial count of audio data blocks, which are (optionally)
filled by data from the DMIC peripheral and played back by the I2S filled by data from the DMIC peripheral and played back by the I2S
output perihperal. output peripheral.
config SAMPLE_FREQ config SAMPLE_FREQ
int "Sample rate" int "Sample rate"

4
samples/net/syslog_net/Kconfig

@ -17,8 +17,8 @@ config NET_SAMPLE_SERVER_RUNTIME
string "Syslog server IP address set at runtime" string "Syslog server IP address set at runtime"
help help
Server address for the syslog server. Server address for the syslog server.
This server address gets set at rumtime by the sample This server address gets set at runtime by the sample
app defore the backend is initialized. This can be app before the backend is initialized. This can be
either IPv4 or IPv6 address. Server listen UDP port either IPv4 or IPv6 address. Server listen UDP port
number can be configured here too. number can be configured here too.
Following syntax is supported: Following syntax is supported:

2
share/sysbuild/images/bootloader/Kconfig

@ -91,7 +91,7 @@ config MCUBOOT_MODE_DIRECT_XIP
can boot from either partition and will select one with higher application image version, can boot from either partition and will select one with higher application image version,
which usually means major.minor.patch triple, unless BOOT_VERSION_CMP_USE_BUILD_NUMBER is which usually means major.minor.patch triple, unless BOOT_VERSION_CMP_USE_BUILD_NUMBER is
also selected in MCUboot that enables comparison of build number. also selected in MCUboot that enables comparison of build number.
This option automatically selectes MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible This option automatically selects MCUBOOT_BOOTLOADER_NO_DOWNGRADE as it is not possible
to swap back to older version of application. to swap back to older version of application.
config MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT config MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT

Loading…
Cancel
Save