CONFIG_ICACHE_LINE_SIZE_DETECT

Detect i-cache line size at runtime

Type: bool

Help

This option enables querying some architecture-specific hardware for
finding the i-cache line size at the expense of taking more memory and
code and a slightly increased boot time.

If the CPU's i-cache line size is known in advance, disable this option and
manually enter the value for ICACHE_LINE_SIZE or set it in the DT
using the 'i-cache-line-size' property.

Direct dependencies

CACHE_MANAGEMENT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/arch/Kconfig:901

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29

Menu path: (Top) → Cache Options → Enable cache management features

config ICACHE_LINE_SIZE_DETECT
    bool "Detect i-cache line size at runtime"
    depends on CACHE_MANAGEMENT
    help
      This option enables querying some architecture-specific hardware for
      finding the i-cache line size at the expense of taking more memory and
      code and a slightly increased boot time.

      If the CPU's i-cache line size is known in advance, disable this option and
      manually enter the value for ICACHE_LINE_SIZE or set it in the DT
      using the 'i-cache-line-size' property.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)