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

8
arch/arc/Kconfig

@ -258,10 +258,10 @@ config ARC_CURRENT_THREAD_USE_NO_TLS @@ -258,10 +258,10 @@ config ARC_CURRENT_THREAD_USE_NO_TLS
select CURRENT_THREAD_USE_NO_TLS
default y if (RGF_NUM_BANKS > 1) || ("$(ZEPHYR_TOOLCHAIN_VARIANT)" = "arcmwdt")
help
Disable current Thread Local Storage for ARC. For cores with more then one
RGF_NUM_BANKS the parameter is disabled by-default because banks syncronization
Disable current Thread Local Storage for ARC. For cores with more than one
RGF_NUM_BANKS the parameter is disabled by-default because banks synchronization
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
in case of MetaWare.
@ -274,7 +274,7 @@ config GEN_IRQ_START_VECTOR @@ -274,7 +274,7 @@ config GEN_IRQ_START_VECTOR
config HARVARD
bool "Harvard Architecture"
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.
config CODE_DENSITY

2
arch/arc/core/dsp/Kconfig

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

2
arch/arm/Kconfig

@ -49,7 +49,7 @@ config ROMSTART_RELOCATION_ROM @@ -49,7 +49,7 @@ config ROMSTART_RELOCATION_ROM
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.
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
is not placed into the boot-vector memory area.

2
arch/riscv/Kconfig

@ -273,7 +273,7 @@ config RISCV_RESERVED_IRQ_ISR_TABLES_OFFSET @@ -273,7 +273,7 @@ config RISCV_RESERVED_IRQ_ISR_TABLES_OFFSET
default 0
depends on GEN_ISR_TABLES
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
purpose and not available. When this option is set, all the IRQ
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 @@ -205,7 +205,7 @@ config XTENSA_MMU_NUM_L1_TABLES
default 1 if !USERSPACE
default 4
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
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 @@ -13,7 +13,7 @@ choice NULL_POINTER_EXCEPTION_DETECTION
endchoice
# 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
# initialize the PSA Crypto core, so we need to enable the fake 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 @@ -12,7 +12,7 @@ DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
config FLASH_LOAD_OFFSET
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
# 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.

2
kernel/Kconfig

@ -943,7 +943,7 @@ config STACK_CANARIES_STRONG @@ -943,7 +943,7 @@ config STACK_CANARIES_STRONG
select REQUIRES_STACK_CANARIES
help
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.
config STACK_CANARIES_ALL

4
modules/Kconfig.mcuboot

@ -208,7 +208,7 @@ config MCUBOOT_BOOTLOADER_MODE_RAM_LOAD @@ -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
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.
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.
config MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
@ -221,7 +221,7 @@ 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
means major.minor.patch triple, unless BOOT_VERSION_CMP_USE_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
to swap back to older version of application.

4
modules/hal_nxp/mcux/Kconfig.mcux

@ -15,7 +15,7 @@ if HAS_MCUX @@ -15,7 +15,7 @@ if HAS_MCUX
config MCUX_CORE_SUFFIX
string
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
config HAS_MCUX_ADC12
@ -373,7 +373,7 @@ config HAS_NXP_MONOLITHIC_NBU @@ -373,7 +373,7 @@ config HAS_NXP_MONOLITHIC_NBU
config NXP_FW_LOADER
bool "Include firmware loader component"
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.
config NXP_MONOLITHIC_WIFI

10
modules/mbedtls/Kconfig.mbedtls

@ -505,11 +505,11 @@ config MBEDTLS_SSL_CACHE_C @@ -505,11 +505,11 @@ config MBEDTLS_SSL_CACHE_C
if MBEDTLS_SSL_CACHE_C
config MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT
int "Default timeout for SSL cache entires"
int "Default timeout for SSL cache entries"
default 86400
config MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES
int "Maximum number of SSL cache entires"
int "Maximum number of SSL cache entries"
default 5
endif # MBEDTLS_SSL_CACHE_C
@ -564,7 +564,7 @@ config MBEDTLS_PSA_CRYPTO_LEGACY_RNG @@ -564,7 +564,7 @@ config MBEDTLS_PSA_CRYPTO_LEGACY_RNG
used, then the generated data will only be pseudo random. Strong
entropy sources are strongly recommended (if possible) to have real
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:
this implementation brings in legacy modules which are not required
in the "external" version, so the footprint is larger.
@ -612,7 +612,7 @@ config MBEDTLS_PSA_P256M_DRIVER_ENABLED @@ -612,7 +612,7 @@ config MBEDTLS_PSA_P256M_DRIVER_ENABLED
bool "P256-M driver"
imply PSA_WANT_ALG_SHA_256
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.
config MBEDTLS_PSA_P256M_DRIVER_RAW
@ -621,7 +621,7 @@ config MBEDTLS_PSA_P256M_DRIVER_RAW @@ -621,7 +621,7 @@ config MBEDTLS_PSA_P256M_DRIVER_RAW
help
Allow direct access to the p256-m driver interface.
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
bool

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

@ -7,7 +7,7 @@ if BUILD_WITH_TFM @@ -7,7 +7,7 @@ if BUILD_WITH_TFM
config TFM_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_CRYPTO
default y
@ -65,7 +65,7 @@ config TFM_PARTITION_PLATFORM @@ -65,7 +65,7 @@ config TFM_PARTITION_PLATFORM
repository.
config TFM_PARTITION_FIRMWARE_UPDATE
bool "Include the secure parition 'Firmware Update'"
bool "Include the secure partition 'Firmware Update'"
select TFM_MCUBOOT_DATA_SHARING
default n
help

2
samples/drivers/i2s/i2s_codec/Kconfig

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

4
samples/net/syslog_net/Kconfig

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

2
share/sysbuild/images/bootloader/Kconfig

@ -91,7 +91,7 @@ config MCUBOOT_MODE_DIRECT_XIP @@ -91,7 +91,7 @@ config MCUBOOT_MODE_DIRECT_XIP
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
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.
config MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT

Loading…
Cancel
Save